我正在尝试使用可以访问 Windows Azure AD 的更新清单创建 Azure AD 应用程序。我已经能够成功创建/配置新的应用程序注册,但在尝试配置清单时遇到问题。
我尝试使用我的MS(https://learn.microsoft.com/en-us/cli/azure/ad/app?view=azure-cli-latest#az-ad-app-create)提供的示例代码来自现有应用程序注册的更新的“resourceAppId”,但是 bash 会抛出错误
az ad app create --display-name myTest --homepage https://blah.test.com --reply-urls https://blah.test.com/.auth/login/add/callback --required-resource-accesses @manifest.json("manifest.json" contains the following content)
[{"resourceAppId": "00000002-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "a42657d6-7f20-40e3-b6f0-cee03008a62a-test",
"type": "Scope"
}
]
}]
Run Code Online (Sandbox Code Playgroud)
由于我已经复制了示例代码并刚刚更新了一些参数,因此我希望它能够运行。TIA 如有任何建议
这是我通过门户运行时收到的错误