Graph API Beta - Un-assign Policy from Service Principal
Today there is an endpoint to assign Azure AD Policies to service principals, but there is no endpoint to un-assign a policy from a Service Principal.
Here is the endpoint to assign a policy:
Here is a link to the powershell cmdlet for unassign policy:
First note is that we now have named policies rather than a single policy type. This change was made in February, just after your post. See https://docs.microsoft.com/en-us/graph/changelog#identity-and-access-azure-ad-3
The docs have recently been updated to ensure that the Add, List and Remove topics are present. Please see and example:
While policies are ALSO in v1.0, you can’t currently assign them to servicePrincipals as we only just added this to v1.0. An update will go out in a couple of weeks to enable add, list and remove typed policies to/from a servicePrincipal.