Forum Discussion
Credentials are missing in ASP.NET-web-app-sample
- Anonymous9 years ago
Hi Eric_Zhang,
The problem has been fixed now :)
It was because of proxy server used in my organisation.
Adding below settings to web config did the trick.
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="yourproxyaddress" bypassonlocal="True"/>
</defaultProxy>
</system.net>
Hope this helps some one who might encounter this error in future.
Thanks,
Vinayak
Anonymous
What Azure AD account you're using? Can you login powerbi.com with that account? Ensure that there's at least one free power bi licence is subscriped to that account.
My azure account is valid and I can login to powerbi.com with this account.
I have MSDN Visual Studio Enterprise subscription linked to this account.
I am not sure what do you mean by "at least one free power bi licence is subscriped to that account"?
- Eric_Zhang9 years agoMicrosoft Employee
Anonymous
I mean
Login on this page and checkAnd ensure that, when playing with that demo, you registered the application for Power BI as
By the way, I see "Additional information:<HTML><HEAD><TITLE>...." in the exception message, would you mind post the whole message?
- Anonymous9 years agoNot applicable
Hi Eric_Zhang,
Thank you for the reply.
Yes my account does have Free Power BI license.
I have used the settings mentioned by you while creating the app, but unfortunately it still does not work.
Would you be able to create a support ticket for this problem? Or provide me with a support email address to whom I can send the details or have a screen sharing session to trouble shoot.
The detailed error message is given below,
An exception of type 'Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException' occurred in Microsoft.IdentityModel.Clients.ActiveDirectory.dll but was not handled in user code
Additional information:
<html>
<head><title>Access Denied</title>
</head>
<body>
<font face="Helvetica">
<big><strong></strong></big><br>
</font>
<blockquote>
<table border=0 cellpadding=1 width="80%">
<tr>
<td><font face="Helvetica">
<big>Access Denied (authentication_failed)</big>
<br>
<br>
</font>
</td>
</tr><tr>
<td><font face="Helvetica">
Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted access until your credentials can be verified.
</font>
</td>
</tr><tr>
<td><font face="Helvetica">
This is typically caused by an incorrect username and/or password, but could also be caused by network problems.
</font>
</td>
</tr><tr>
<td><font face="Helvetica" size=2>
<br>
For assistance, contact your network support team.
</font>
</td>
</tr></table>
</blockquote>
</FONT>
</body>
</html>- Eric_Zhang9 years agoMicrosoft Employee
Anonymous
Thanks for posting that addtional infomation. Per the detailed message, it seems an Azure AD authentication problem then. I'd suggest you post your question with all the details in this table in the Azure AD forum for a better result. Kindly share any update if you get.