Windows Azure Management API is configured for use by Azure Active Directory users only. Please do not use the /consumers endpoint to serve this request.
Multiple Visual Studio customers are running into this issue while trying to retrieve the Azure AD B2C tenant information from the 'dotnet msidentity tool'.
dotnet msidentity tool code is here: https://github.com/dotnet/scaffolding
Error information:
(Windows Azure Management API) is configured for use by Azure Active Directory users only. Please do not use the /consumers endpoint to serve this request.
Details:
This Visual Studio developer community issue has the relevant information.
https://developercommunity.visualstudio.com/t/Cannot-configure-Microsoft-Identity-Plat/1658950
Other related bugs:
https://developercommunity.visualstudio.com/t/Configure-Microsoft-Identity-Platform---/1580609
https://developercommunity.visualstudio.com/t/VS2022-cannot-get-Azure-AD-Tenants-infor/1534462