M365 Organization settings graph API endpoint

Ville Koch 40 Reputation points

I'm looking for a way to enumerate M365 organization settings via MS Graph API.

More specifically, I'd like to query the "Modern Authentication" setting. I know I could do it using the MSO PowerShell module (Get-OrganizationConfig cmdlet), but I'm looking for a MS Graph API query which returns the same data.

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,023 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,060 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 91,361 Reputation points MVP

    There is no single endpoint to cover that. Each workload has its own settings, and only SharePoint Online's are currently queryable via the Graph API:

    GET https://graph.microsoft.com/beta/admin/sharepoint/settings?$select=isLegacyAuthProtocolsEnabled

    The Get-OrganizationConfig, which returns Exchange Online's configuration, has no analog in the Graph API. So you have to use PowerShell if you want to report on these settings.

0 additional answers

Sort by: Most helpful