M365 Organization settings graph API endpoint

Ville Koch 40 Reputation points
2023-01-25T14:53:16.05+00:00

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.
12,274 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,578 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 108.1K Reputation points MVP
    2023-01-25T16:17:54.5233333+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.