Can I load mixed content Http and Https for Office 365 outlook addin? - ssl

As per below link,security for Office Add-ins and what I understood that we need to apply SSL for Add-in and XYZ WEBAPP which we are expecting to get loaded inside the office 365 add-in task pane.
But, do next level WEBAPI calls also need to be secured (Https) which needed for XYZ application?

The answer is yes, per documentation you refer to ...
"Data communicated with the web server that hosts a content, Outlook or task pane add-in as well as communication between the add-in and any web services it uses must be encrypted using the Secure Socket Layer (SSL) protocol."

Related

create web service config file in access 2016 vba

I don't have any code yet as I don't know where to start! I see on the web that I'd need to select
on the Access toolbar external data >> more >> data services. Then it asks to point to a xml config file. Which I don't have and would need to create. I have the connection string from a VB.net application.
sWIPConnString As String = "SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fake3465-vip.ent.agt.bb.ca)(PORT=41521))(CONNECT_DATA=(SERVICE_NAME=fictitious_service_name)));uid=APP_getinfo;pwd=thispassword;"
I'd have to convert that to an xml version. Any help would be appreciated!
Thank in advance
Pete
But those data services are not just any old plane jane web site. They are web sites that have installed, setup, and the developers of those web sites setup that data service connection. And these custom connections are NOT general web sites, and they are not general web services that many sites have. And they are not a web API written around say SOAP or some REST standard.
So unless that web site decided to adopt this Microsoft specific means and method to expose data, then you not be able to use this feature to simple connect to any old web site out of the blue. If you have a existing web site that exposes some web services? Then you have to use MSXML and consume that web data yourself. That option in Access is not some general purpose setting or feature that allows connection to any old web site - only ones that have created that web service written to the business connection options that Microsoft created.
It not clear if you planning to create some web services on the target web site (that would assume you're the developer of that web site), or you trying to consume existing web services that the given site exposes. Even in this 2nd case, those exposed web services or even REST calls has ZERO to do with the feature in Access.
so that feature is of only use for connecting to web sites that offer specific created connection based on that standard from Microsoft - it not a general web service consuming feature built into access and you can't use that feature as such.
How to make a web service call from Access? Well, it has ZERO to do with that feature. Here is a MSXML exmaple:
How to use XML web services in Access2007 which are built on Visual studio (2008/2010)

Office js addin: Can I send email from excel addin?

I am developing an excel add-in. Everything works fine but I would like to send the end result via email.
Is it possible to send a table range content with the outlook from excel addin?
Yes, it is possible. You can use the Exchange web services from your JS add-in. EWS is a SOAP based, XML protocol. There is no officially supported client libraries for JS, Outlook add-ins have built-in methods for making such calls. In case of Excel web add-ins you may consider using ews-javascript-api.
In case of Outlook add-ins you may find the Call web services from an Outlook add-in page helpful.

Acess to sharepoint api

In the past I wrote application that connects to OneDrive using Microsoft Graph.
Now my boss asked me to write application to communicate with SharePoint, so the situation is like this: I have in a separate network (without internet connection) a shrepoint server. I can access to SharePoint management from browser like: http://mySharePoint:5186
my qustion, how do I register my application, since the sharepoint server and the application that will connect to this SharePoint are not connected to th internet. I mean how do I get client id, token etc..
I have tried to regitser the app i.w I wrote in browswer: http://mySharePoint/_layout/15/appreqnew.aspx but I'm getting "Sorry, something went wrong" error at the browser
Microsoft Graph does not support on-premises SharePoint Servers.
There is a great document here that can help you understand your scenario https://learn.microsoft.com/en-us/sharepoint/dev/general-development/choose-the-right-api-set-in-sharepoint
If you are running the code within SharePoint server context in page the auth is handled for you. If you are calling the API from a service outside SharePoint server context. you'll have to read more on SharePoint REST API auth. There are too many scenarios but there is more on this here https://learn.microsoft.com/en-us/sharepoint/dev/general-development/build-mobile-apps-for-other-platforms-using-sharepoint#BuildMobileAppsInSharePoint2013ForNonWindowsPhone_AuthenticatingNonWindowsAppForSharePoint

API to custom microsoft exchange server

My school has OWA installed on their own servers. I've read the documentation on microsofts website, but it only targets the official outlook.
How do i go about making API calls to their OWA?
EWS works both for the hosted (Office 365 etc.) or on-prem Exchange servers. There is no difference.

Authentication against Active Directory using a Mobile Device

I currently have a Mobile Application that communicates through a WCF Service to access a Database. The Mobile App can access on the network as well as externally. It connects to the WCF Service which is hosted on one server inside the network. From there the WCF Service is pointing at another server which is hosting the Database that the Mobile Device is accessing.
With the above process how would you setup authentication using Active Directory which would confirm the user of the Mobile Application before it can access the WCF Service to confirm that the user is a member of AD and they can then login after authorization is complete. This would occur as the user opens up the Application. Would this be coded into the App to prompt for the information, then send the information to the WCF Service which would then allow access? If not this then are there any other ways or information/links that can be provided please?
Take a look at the BUILD 2013 videos. Visual Studio 2013 will create a webproject that will automagically do all that for you (I think). Just bare in mind, it uses the Microsoft.OWin.Security beta packages.
Also...you will need to install the AspNetWebTools2013 package first...
http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio#orgauthoptions