Dear MetalCanary,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
Based on your description, I understand that you have a query "2nd account not loading"
Could you please explain clearly on this issue, what were you trying to accomplish when getting this error? Basically, the AADSTS50011 error message is returned when you try to sign into an application that uses OpenID Connect (OIDC)-based authentication with Azure Active Directory (Azure AD), and it occurs if the redirect URI (reply URL) configured in the application (code) and the Azure AD app registration don't match.
The resolution for this is provided in this Microsoft official article: Error AADSTS50011 the redirect URI does not match the redirect URIs configured for the application - Active Directory | Microsoft Learn as follows:
- Copy the application ID from the error message. This is the ID of your application that has been registered in Azure AD.
- Go to the Azure portal. Make sure you sign into the portal by using an account that has permissions to update Azure AD Application registration.
- Navigate to Azure Active Directory, select App registrations, locate the application registration by using the application ID, and then open the app registration page. You can also open the page directly by using the following links: If this app is owned by an organization (Azure AD tenant), use https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId/. If this app is owned by your personal Microsoft (MSA) account, use https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId//isMSAApp/true.
- On the app registration page, select Authentication. In the Platform configurations section, select Add URI to add the redirect URI displayed in the error message to Azure AD.
- Save the changes and wait three to five minutes for the changes to take effect, and then send the login request again. You should now be able to sign into the application. If you don't see the Azure AD login page, try clearing the password cache from your browser or use InPrivate browsing.
We look forward to hearing from you; Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution. Thank you for your cooperation.
Sincerely,
De Paul | Microsoft Community Moderator