How to Fix “Access to OData is disabled” when Calling Graph API

Microsoft Graph and Office 365 Unified API are widely used to make development based on Office 365, while when calling calendar related API, you may experience “Access to OData is disabled” failure shown below. client-request-id: 4812d5c0-7a5d-4416-ae8b-5f9cefa873a5 content-type: application/json cache-control: private request-id: 4812d5c0-7a5d-4416-ae8b-5f9cefa873a5 Status Code: 403 { “error”: { “code”: “ErrorAccessDenied”, “message”: “Access to OData is…

1

Access Exchange Online by PowerShell in C#

For exchange online management, the most convenient and powerful approach is Exchange Online PowerShell Cmdlet. Before calling each management cmdlet, we need establish a remote session firstly and Connect to Exchange Online PowerShell is a good start for this.   In the meantime, probably you would like to access exchange online from C#, such as…

3

The difference between the tokens used by Microsoft Graph API and Azure AD Graph API

Microsoft Graph API and Azure AD Graph API are two sets of Restful services to query office 365 user or organization’s information. The obvious difference for these two services are the endpoints that Microsoft Graph API is https://graph.microsoft.com and Azure AD Graph API is https://graph.windows.net. On authorization part, both of the two Graph APIs are…

2