Share via

How to resolve 403 errors in Graph API POST /v1.0/servicePrincipals

David Pereira 26 Reputation points
2026-04-22T09:42:47.2866667+00:00

I am creating an Application Registration using the Graph C# SDK, but I keep getting errors when creating a service principal for that new App ID I created. I am using the permission "Application.ReadWrite.OwnedBy".

This is the error response I get from the Graph API:
{"code":"Authorization_RequestDenied","message":"When using this permission, the backing application of the service principal being created must in the local tenant","innerError":{"date":"...","request-id":"...","client-request-id":"..."}}

This error is very recent. Previously, I could create the app registration + service principal with this permission. I saw related issues in the Azure CLI GitHub: https://github.com/Azure/azure-cli/issues/14767

I understand the architecture has replication : https://learn.microsoft.com/en-us/entra/architecture/architecture but the error message doesn't help a lot. I'm not sure if it's a permissions problem or something else.

Can anyone help?

Thanks!

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    2026-04-22T10:33:57.2666667+00:00

    Can you share the full payload and the decoded access token (redact any sensitive data)? 403 usually mean missing permissions, so we need to verify whether the calling principal has been assigned sufficient permissions and has the required Entra ID roles, as appropriate.

    Was this answer helpful?


Your answer

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