office365

Get Access Token with OneDrive API

风流意气都作罢 提交于 2020-01-25 22:00:06
问题 I am trying to authenticate and to sign to in OneDrive for business in order to get an access token. I have registered my application in Azure Active Directory and I have got my client_Id and my Client_Secret. Base on the OneDrive API Documentation the next step is to login to get the authorization code that will be used to get the access token. I am able to get the code successfully but the next step is a POST with the following parameters: POST https://login.microsoftonline.com/common

SharePoint extension command set

会有一股神秘感。 提交于 2020-01-25 08:57:05
问题 SharePoint Modern: Is it possible to add an custom action using command set for a particular list or how to activate a custom action for specific list? I am trying to develop a custom action for specific list but when I deployed in SharePoint tenant this custom action is added for all list(same type of list template). 回答1: Here is my test solution to limit command set extension to specific list. We could get current list title by this.context.pageContext.list.title . @override public

Errors when using SMTPLIB SSL email with a 365 email address

独自空忆成欢 提交于 2020-01-25 07:55:07
问题 context = ssl.create_default_context() with smtplib.SMTP_SSL("smtp.office365.com", 587, context=context) as server: (587) When I run this I get an SSL error: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1056). (465) I get a timeout error. I tried using ports 465 and 587. I get different errors when I use different ports. I did try 995 just for the heck of it and still no luck. If I use my gmail account, I have no issues. Is there something I need to do to my email account so it

Microsoft Graph API : Restrict scope of calendar.readWrite and Audit mailbox access by Application Permission

风流意气都作罢 提交于 2020-01-25 00:26:07
问题 We are using AD deployed Daemon applications that have full read/write access to user's calendar in office 365 to get meeting notifications from Graph API. We have moved away from EWS because of constant issues and MS depreciating its use. There does not currently seem to be a way of restricting the scope of Office 365 Calendar.ReadWrite permission from the organization level to a group/user. Fortune 500 customers are worried that our application has access to all sensitive data inside their

Cannot connect to remote MS Dynamics CRM Fetch XML datasource from SSRS

泪湿孤枕 提交于 2020-01-25 00:12:27
问题 I have Office 365 with Microsoft Dynamics CRM which contains business data and I have SQL Server Reporting Services on a stand-alone server that serves as a report container and my ASP.NET websites can execute these reports and people can deploy reports there. In Visual Studio I've created Fetch XML datasource for my report supplying CRM server credentials and report runs smoothly, no problems at all. When I deploy it on SSRS server I can't execute it with the same credentials, it just throws

Access Office 365 Discover Service with “app-only” token

て烟熏妆下的殇ゞ 提交于 2020-01-24 19:40:48
问题 I am trying to query Office 365 Discovery Service REST API using "app-only" token obtained by following client credential grant flow but it gives back Access denied. Is there a way to make this work? {u'error': {u'message': u'Access denied. You do not have permission to perform this action or access this resource.', u'code': u'-2147024891, System.UnauthorizedAccessException'}} 回答1: Discovery service does not support app-only token since Discovery’s goal is to provide the app with the

Difference between Office 365 REST Api and Microsoft Graph

梦想的初衷 提交于 2020-01-24 03:21:28
问题 I would like to know difference between Office 365 REST API and Microsoft Graph, since we could find similar functionality for both of these. https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview Following is the text from above link: Office 365 API functionality is also available through Microsoft Graph, a unified API that includes APIs from other Microsoft services such as Outlook, OneDrive, OneNote, Planner, and Office Graph, accessible through a single endpoint and

Office 365 EWS does not return X-BackendOverrideCookie

假如想象 提交于 2020-01-23 10:51:27
问题 Office 365 does not return the X-BackendOverrideCookie in response headers. I set the X-AnchorMailbox and X-PreferServerAffinity in the request headers properly. This does not trigger X-BackendOverrideCookie to be returned, as it says in MSDN. Why is this happening? Meanwhile, I tried the same thing with an on-premise Exchange 2016. Here I don't even set the X-AnchorMailbox and X-PreferServerAffinity and I get back the X-BackendOverrideCookie in each response. This is not good either, since I

Office 365 EWS does not return X-BackendOverrideCookie

左心房为你撑大大i 提交于 2020-01-23 10:51:10
问题 Office 365 does not return the X-BackendOverrideCookie in response headers. I set the X-AnchorMailbox and X-PreferServerAffinity in the request headers properly. This does not trigger X-BackendOverrideCookie to be returned, as it says in MSDN. Why is this happening? Meanwhile, I tried the same thing with an on-premise Exchange 2016. Here I don't even set the X-AnchorMailbox and X-PreferServerAffinity and I get back the X-BackendOverrideCookie in each response. This is not good either, since I

Office 365 versus desktop Excel macros

二次信任 提交于 2020-01-23 06:22:25
问题 Sorry if the title is very vague, I've been trying to work my way around this for a little while now, but I have to say that I know very little about Office 365 and its abouts. I've developed a series of macros in Excel 2010 that include input of data and automation of subprocesses, but recently we've been told that we're more definetely moving to the Online platform of Office 365, and as you already know, Excel online does not supports macros -or any VBA really, as far as I know. So I was