使用 Az CLI 注册 Azure AD B2C 应用程序

4

我正在努力寻找一条 Az-Cli 命令,以便能够注册或创建 Azure AD B2C 应用程序。有人能指点我吗?

顺便说一下,Azure Powershell 也是可能的解决方案。

1个回答

7
您可以使用以下 Azure CLI 命令在 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操作和其他支持的操作。

有关更多信息,您可以参考此Microsoft Q&A讨论


非常好,@VenkateshDodda-MT。我一定会尝试并在适当的时候提供反馈。谢谢。 - hitman126

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接