无法在网址和应用ID网址上设置登录 [英] unable to set sign on url and app Id url

查看:108
本文介绍了无法在网址和应用ID网址上设置登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用apps.dev.microsoft.com创建了一个应用程序.该应用程序显示在我的Azure AD中,但是当我尝试从manage.windowsazure.com设置URL上的符号值和应用程序ID URL并单击保存"按钮时,保存失败并显示错误消息:

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.

我将" http://localhost/crm "作为APP ID URI的值,并将" http://localhost/crm 作为登录URL的值.我要去哪里错了?

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 ?

推荐答案

当前,Azure AD v2.0应用程序是与Azure门户分开管理的.如果您还想通过Azure门户管理这些应用程序,则可以从此处提交反馈.

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.

根据描述,您似乎希望使用Azure AD V2.0应用程序保护Web API.为了实现该目标,我们可以使用应用程序ID 而不是应用程序ID Uri 来获取令牌.

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.

这是用于调用Web API的两个代码示例,这些示例由Azure AD V2.0应用程序保护免受本机应用程序和Web应用程序的侵害.

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.

将登录添加到Windows桌面应用程序

调用.NET Web应用程序中的Web API

这篇关于无法在网址和应用ID网址上设置登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆