question

WizzzOzzz-2203 avatar image
0 Votes"
WizzzOzzz-2203 asked SaurabhSharma-msft commented

Application authentication doesn't work for me

I have register my application to the azure App Registration service, to Authenticate API request from my FE app to my BE app.
according to this tutorial
these are the screenshots of the BE configuration:
127301-image.png
127292-image.png

and these are the screenshots for the FE configuration:
127283-image.png
127170-image.png


for some reason it doesn't matters how I run it (Postman, Code) it gives me 401.
can someone please assist me?

dotnet-csharpazure-ad-authenticationazure-ad-app-registrationpartner-center-api
image.png (81.7 KiB)
image.png (78.1 KiB)
image.png (94.4 KiB)
image.png (81.2 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @WizzzOzzz-2203,

Thanks for using Microsoft Q&A !!
Can you please provide appsettings (Redact your secrets or any other senstive info) of your console application ? Are you setting ResourceId correctly. Also, please provide your .net code accessing the web api to further validate this.
I have used your shared link and it worked as expected.
129305-image.png

Thanks
Saurabh

0 Votes 0 ·
image.png (69.1 KiB)

Hi @WizzzOzzz-2203,
We haven't heard back from you. Just wanted to check if you are you still facing the issue? In case If you already found a solution, would you please share it here with the community? Otherwise, let us know and we will continue to engage with you on the issue.

Thanks
Saurabh

0 Votes 0 ·

Hi @WizzzOzzz-2203,

Please let me know if you are still facing this issue.

Thanks
Saurabh

0 Votes 0 ·

0 Answers