@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.comand re-run the PowerShell cmdletGet-AzureADMSIdentityProvider. - If
Get-AzureADMSIdentityProviderstill 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.comdomain 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.

