user3658298
user3658298

Reputation: 341

Error when publishing an ASP.NET Website with "Enable Organizational Authentication" selected

I have created a basic ASP.NET website using "Organizational Accounts" as the authentication mechanism.

It works perfectly well running on localhost.

However when I attempt to publish it to Azure with the "Enable Organizational Authentication" option enabled I get the following error box.

"Provisioning the destination end point failed with the error: 'Unable to configure Organization Authentication for this project. Please try later' If you don't intent to enable Orgnizational Authentication during publish, please turn that option off in the publish dialog "

I get this error regardless of whether I try to use a "Microsoft Account" to publish the site or a Azure AD account that is has global administration rights and co-admin rights to the Azure subscription.

Any suggestions on how to overcome this would be gratefully received!

Upvotes: 1

Views: 1997

Answers (1)

David Smith
David Smith

Reputation: 21

I think what is happening is the credentials for Azure Directory are getting lost. There doesn't seem to be a way to directly enter the correct credentials.

Inside the Publish Web settings change the domain under File Publish Options. Try to publish and then set it back. It will ask you for credentials, enter for the Global Administrator. It should work then.

Upvotes: 2

Related Questions