我正在努力寻找 Az-Cli 命令来注册或创建 Azure AD B2C 应用程序。有人能指出我正确的方向吗?
顺便说一句,我也不介意将 Azure Powershell 作为可能的解决方案。
最佳答案
您可以使用以下 Azure CLI cmdlet 在 Azure AD B2C 租户中创建应用注册。
az login --tenant [myb2ctenant.onmicrosoft.com](http://myb2ctenant.onmicrosoft.com/) --allow-no-subscriptions (this cmd helped me to login to B2C without subscription)
az ad app create --display-name testb2capp (this creates app in B2C)
az ad app list --display-name testb2capp (Gives details of newly created app)
az ad app update --id APP_ID_FROM_ABOVE_CMD --reply-urls [https://jwt.ms](https://jwt.ms/) (update any values in app)
或者,您可以使用MS Graph Create Application操作及其他supported操作。
欲了解更多信息,您可以引用此Microsoft Q&A discussion .
关于azure - Az CLI - 注册 Azure AD B2C 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69812208/