Error occurred while executing Deleting Identity Providers

Aryan Saxena 1 Reputation point
2022-10-01T20:08:05.983+00:00

I would like to delete all the identity providers of the tenant Emanastra.onmicrosoft.com, but when I try to do this through Powershell I receive the message: Error occurred while executing DeleteIdentityProvider Code: AADB2C90063 Message: There is a problem with the service. I was wondering if there is anything I could do to get past this or if you could delete the identity providers remotely from your end. When I click on All Identity providers in my Azure portal, it displays loading and never seems to load. I then tried to open an incognito window to see if it was a problem with the cache, but it still displayed the same loading message in configured identity providers. Please can you have a look at the identity providers of this tenant from your end as this problem has been bothering me for some time now. I have sufficient privilleges and I ran the command Get-AzureADMSIdentityProvider and Remove-AzureADMSIdentityProvider -Id LinkedIn-OAUTH to try and delete them. This tenant is not a b2c tenant. I tried contacting azure support and they said that this was an issue from the back end (after trying to verify the Logs), recommending me to escalate this to an internal engineering team or specialized engineer.
246711-screenshot-4.png246692-screenshot-2.png

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 37,221 Reputation points Microsoft Employee Moderator
    2022-10-18T18:14:21.613+00:00

    @Aryan Saxena
    Thank you for your time and patience on this issue!

    Error Message:
    AADB2C90063 Message: There is a problem with the service

    I was able to find some similar internal issues based off your error message and will share some troubleshooting steps and potential solutions below, to hopefully help resolve your issue.

    Issue:
    You're trying to execute Get-AzureADMSIdentityProvider and Remove-AzureADMSIdentityProvider -Id LinkedIn-OAUTH, but you're running into the above error message.

    Troubleshooting:

    • Confirm the Tenant you're trying to access isn't a B2C tenant.
    • Try changing your initial/ primary domain within Azure Active Directory back to the original ...onmicrosoft.com and re-run the PowerShell cmdlet Get-AzureADMSIdentityProvider.
    • If Get-AzureADMSIdentityProvider still produces the same error message, try leveraging the Graph REST API samlOrWsFedExternalDomainFederation resource type.
    • If the above steps fail, you can try making your ....onmicrosoft.com domain your fallback domain within Microsoft 365 and re-running the commands above.

    I hope this helps and I'll continue monitoring your support request in case anything changes or a solution is found for your issue.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

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.