Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

"ACS50001: Relying party with identifier 'XXX was not found." in AD authentication

$
0
0

I already wrote a question in another thread but some random "marked as answer" bother me.

I followed the tutorial http://msdn.microsoft.com/library/windowsazure/dn151790.aspx to learn how to use Windows Azure AD to authenticate users in my website.
First I tried using a new "ASP.NET MVC 4 Web Application", and everything works.
Then I tried using a new "ASP.NET Empty Web Application", and I receive this error:

An error occurred while processing your request.
HTTP Error Code:  400
Message:  ACS50000: There was an error issuing a token.
Inner Message:  ACS50001: Relying party with identifier 'https://marcotest4.azurewebsites.net' was not found.
Trace ID:  4aecc611-8b8e-4225-b5fa-f19baf17679c
Timestamp:  2013-04-30 01:10:10Z

The steps I followed to try the AAD authentication with an ASP.NET Empty Project are the followings:

- creating an Azure Website (default settings), url = marcotest4.azurewebsites.net
- creating an entry in "integrated apps" in my Azure Active Directory with APP URL, APP ID URI and REPLY URI = https://marcotest4.azurewebsites.net
- creating a ASP.NET Empty Web Application, and adding a Default.aspx just to have something to display (I renamed the Default class to Default_ because I had troubles with that name in the past)
- in the Project property: SLL Enabled set to true
- "Identity Access" on the project, checked business identity provider and set the STS metadata and APP ID URI (https://marcotest4.azurewebsites.net), checked "enable web farm ready cookies" in the Configuration tab
- Publishing using the publishing profile downloaded from the Azure Website configuration
- Waiting some minutes (hours) to ensure Azure has finished syncing
- Testing the website

Can you help me finding where the problem is?

Thanks,
Marco


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>