Share via

Unable to authenticate while adding service reference to SOAP Web service

Karthikeyan Rajagopalan 1 Reputation point
2022-05-25T10:09:53.043+00:00

I have deployed a ASP.NET web service in Azure. Authentication is added by specifying Microsoft as identity provider.

The settings for the service in Azure is as below:-

Supported account types: Any Azure AD directory & personal Microsoft accounts
App Service authentication: Enabled
Restrict access: Require authentication
Unauthenticated requests: Return HTTP 401 unauthorized
Token store: Enabled
Allowed external redirect URLs: Configured

When I try to add a service reference in a stand alone C# application, the discovery service prompts for credentials, but does not seem to accept my corporate account (tied to MSDN subscription with Azure benefits) nor my personal account (hotmail). What could be the issue?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.