Category Archives: Graph API

Exchange API permissions missing

Few days back, Microsoft announced deprecation of v2.0 Outlook REST API. Important detail was omitted from that article though, and only added to the republished post over at the EHLO blog. Here is the changed paragraph: Going forward, we will … Continue reading

Posted in Azure AD, Exchange Online, Graph API, Microsoft 365, Office 365 | 1 Comment

Reporting on group membership for Azure AD devices

Now that we have device-based licensing for Office available to enterprise customers as well, adding device objects to Azure AD groups will become more common. The need to report on group membership for device objects will also arise. Neither the … Continue reading

Posted in Azure AD, Graph API, Microsoft 365, Office 365, PowerShell | Leave a comment

Toggle Azure AD Security Defaults on or off programmatically

Continuing our exploration of the different policies objects exposed under the /policies Graph API endpoint, in this article we will discuss how to get the current state of the Security defaults feature, and change it as needed. But first, a … Continue reading

Posted in Azure AD, Graph API, Microsoft 365, Office 365, PowerShell | 1 Comment

Block MSOnline PowerShell access for your tenant

One of the recent additions to the AzureAD (Preview) PowerShell module and the corresponding Graph API endpoints is the ability to configure “policy” objects within the tenant. In all fairness, “policies” aren’t something new, as they have been used for … Continue reading

Posted in Azure AD, Graph API, Microsoft 365, Office 365, PowerShell | 1 Comment

Remove sharing permissions on all files in users’ OneDrive for Business

A while back I posted a “proof of concept” article/script about enumerating all shared files across your Office 365/OneDrive for Business environment. The script used the Graph API endpoints to get a list of users within your tenant, then for … Continue reading

Posted in Graph API, Office 365, OneDrive for Business, PowerShell | 3 Comments