Category Archives: Graph API

Reporting on Manager and/or DirectReports in Office 365

Getting a list of all the direct reports for a given user, or similarly building the manager’s chain seems to be a common question lately, so I figured I’d write a short article on this. There are few different ways … Continue reading

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

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 | 6 Comments

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