通过Powershell上传Azure AD B2C自定义策略 [英] Upload Azure AD B2C Custom Policy Via Powershell
本文介绍了通过Powershell上传Azure AD B2C自定义策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何上传自定义策略?
推荐答案
Azure AD B2C现在支持PowerShell cmdlet
Azure AD B2C now supports PowerShell cmdlets
快速入门
启动Power Shell并尝试以下命令
Launch Power Shell and try below commands
> Install-Module -Name AzureADPreview
> Connect-AzureAd -tenantId <yourtenantname> -accountId <yourAlias@contoso.com>
> Get-AzureADMSTrustFrameworkPolicy
> Get-AzureADMSTrustFrameworkPolicy -Id B2C_1A_signup_signin -OutputFilePath C:\B2C_1A_signup_signin.xml
> New-AzureADMSTrustFrameworkPolicy -InputFilePath C:\B2C_1A_signup_signin.xml
> Set-AzureADMSTrustFrameworkPolicy -Id B2C_1A_signup_signin -InputFilePath C:\B2C_1A_signup_signin.xml
这篇关于通过Powershell上传Azure AD B2C自定义策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文