microsoft / AzureUsageAndBillingPortal

This web application solution enables you to monitor the usage and billing for any Azure subscriptions you have access to.
Other
199 stars 88 forks source link

Registration Error for AUBI #77

Open GloveNinja217 opened 7 years ago

GloveNinja217 commented 7 years ago

I am almost done all the steps to configure this Portal and I am stuck.

The only time I had to deviate from instructions was when I was configure the Application in Azure AD. The App URI had to be changed from an "onmicrosoft.com" address to my company's domain before I could enable the "Multi-Tenant Option".

Now I am navigating to the Registration URL and attempting to sign-in using my Work account. It has MFA configured using the Microsoft Authenticator App. Once I sign in I receive the following error:


Sorry, but we’re having trouble signing you in. We received a bad request.

Has anyone encountered this error before when attempting to register? I just need some guidance to resolve this.

NOTE: All the steps I did were following the Video here: https://channel9.msdn.com/blogs/Mustafa-Kasap/How-to-Setup-the-Azure-Usage--Billing-Portal, so if I missed something please let me know.

trevorlloydelliott commented 7 years ago

Having the same issue. The setup guide specifies doing this as part of the publish wizard:

http://rickrainey.com/wp-content/uploads/2014/07/072914_1250_AzureADAuth12.png

But the option does not seem to be present with VS 2017.

nogweii commented 6 years ago

I had to make sure the full URL for the registration page was added to the Azure AD Application -- so http://auiregistration1234567890.azurewebsites.net/Home/Register. It then worked, but Firefox did throw a warning about the Windows login page POSTing to an HTTP site. I think if all of the HTTP urls are replaced with HTTPS, that'll resolve that warning.