截至昨天,我向我的 Azure AD 添加了一个 webapi 和一个 native 应用程序。 昨天我能够下载 WEBAPI 的 list 文件来添加 appPermissions (用于将权限委托(delegate)给 native 应用程序)。
list 文件中不再有任何 appPermissions,它已更改。我尝试过添加新的应用程序,甚至添加新的广告。
现在只有 appRoles 了。
有谁知道这是为什么,以及我如何解决这个问题,以便我仍然可以委派权限?
<小时/>这可能是新的使用方式吗?
oauth2Permissions": [
{
"adminConsentDescription": "Allow the application full access to the service on behalf of the signed-in user",
"adminConsentDisplayName": "Have full access to the service",
"id": "23906603-82b7-4471-afbd-b6bcf2fe7b1a",
"isEnabled": true,
"origin": "Application",
"type": "User",
"userConsentDescription": "Allow the application full access to the service on your behalf",
"userConsentDisplayName": "Have full access to the service",
"value": "user_impersonation"
}
],
最佳答案
@Simon Agren 是对的,新的 oauth2Permissions 对我有用。只需下载旧的现有 Maninifest,您就会看到它现在如何使用 oauth2Permissions 而不是 appPermissions。请记住为 id 属性创建一个新的 GUID。 今天早上看到这个的时候我也很惊讶:)
干杯。
关于azure - 在应用程序 list (Azure Active Directory)中找不到 AppPermissons,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26573295/