Microsoft 365 Error Codes

Fix the Office 365 Management API Unrecognized GUID Format Error

Phi Hung VoPhi Hung Vo Nov 25, 2026 870 views

Question details

Resolve a .NET FormatException when calling the Office 365 Management API ServiceComms CurrentStatus endpoint with an OAuth token.

Fix the Office 365 Management API Unrecognized GUID Format Error
Product
Office 365 Management API
Device & OS
not provided
Scenario
An application requests an OAuth access token and uses it to retrieve service status for a Microsoft 365 tenant.
Observed behavior
The CurrentStatus request returns an unrecognized GUID format error when the token lacks the expected tenant information or permissions.
Before you start

Identify the Microsoft Entra tenant ID or tenant DNS name used by the application, and locate its app registration. Check the token without sharing it publicly; access tokens are credentials.

Solution 1Recommended

Request a tenant-specific token and verify its permissions

Use this approach when a token requested through the common endpoint has no roles or does not identify the expected tenant.

A token without the expected tenant information or permissions can trigger a misleading server-side GUID format error. Request a new token after correcting the tenant and granting permissions.

1
Find the tenant

In the Microsoft Entra admin center, open Identity > Overview and note the tenant ID or primary domain name.

2
Check API permissions

Go to Identity > Applications > App registrations, select your app, and open API permissions. Add the Office 365 Management APIs permissions needed for the ServiceComms request, then grant admin consent where required.

3
Request a new token

In the OAuth token request URL, replace common with the tenant ID or tenant DNS name. Request a token for the Office 365 Management API resource using the flow appropriate for your application.

4
Inspect the token claims

Decode the new access token securely and check that its tid and aud claims identify the expected tenant and API. For an application-permission token, confirm that the roles claim includes the required permissions.

5
Retry the status request

Call the ServiceComms CurrentStatus endpoint again with the new token in the Authorization: Bearer header. Verify that the tenant ID in the API request is a valid GUID for the intended tenant.

Request a tenant-specific token and verify its permissions
Check the token flow: Delegated access tokens typically use an scp claim for permissions, while application-permission tokens use roles. Verify the claims appropriate to your OAuth flow.
Free Microsoft Office alternative

Use WPS Office as an alternative for everyday document work

WPS Office is a free, lightweight alternative for working with office files. Its familiar interface and Microsoft Office format compatibility make it easy to move existing documents, spreadsheets, and presentations. It does not fix the Microsoft 365 Management API error.

Work on documents while troubleshooting Microsoft 365 API integrationsOpen and edit Microsoft Office formats such as DOCX, XLSX, and PPTXUse a familiar interface for a smoother transition from Microsoft OfficeAccess a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does using common cause this API error?

In the reported case, using common produced a token without the required roles. Requesting a token with the tenant DNS name supplied the expected tenant context and permissions.

Where can I find my tenant ID?

In the Microsoft Entra admin center, open Identity > Overview and copy the tenant ID. Use it in the token request and, where required, in the API request URL.

How do I check whether my app has the right API permissions?

Open Microsoft Entra admin center > Identity > Applications > App registrations, select the app, and review API permissions. Grant admin consent if the required permissions need it, then request a new token.

Why is the roles claim missing from my access token?

The token may have been requested with the wrong tenant or without the required application permissions. Check the token request and app registration; if you use delegated permissions, inspect the scp claim instead.