unable to set sign on url and app Id url

2019-09-07 03:25发布

I have created an app using apps.dev.microsoft.com . This app shows up in my Azure AD but when I am trying to set the value of the sign on url and the app id url from manage.windowsazure.com and clicking on the save button the save fails with error message:

This request has a value that is not valid.

I am putting "http://localhost/crm" as the value for APP ID URI and "http://localhost/crm" as value for SIGN-ON URL. Where am I going wrong ?

1条回答
叛逆
2楼-- · 2019-09-07 04:19

At present, the Azure AD v2.0 apps are managed separately from Azure portals. If you also want to manage these apps through Azure portal, you can submit the feedback from here.

Based on the description, it seems that you want to protect the web API using the Azure AD V2.0 app. To achieve the goal we can acquire the token using the application Id instead of app id Uri.

And here are two code sample for call the web API which protect by Azure AD V2.0 app from native app and web app.

Add sign-in to a Windows Desktop app

Calling a web API from a .NET web app

查看更多
登录 后发表回答