无法使用 E5 开发租户上的条件访问策略分配身份验证上下文
Unable to assign authentication context with Conditional Access Policy on E5 Development Tenant
它在几周前工作,但是当我今天尝试同样的事情时,我遇到了错误。
我正在使用 SHarepoint 在线测试身份验证上下文是否满足 g运行ular MFA 要求(这是预览功能)
- 在 Azure 门户中,我使用使用此上下文的 MFA 创建了身份验证上下文和 CA 策略。
- 在 SharePoint I 上 运行 这个 cmdlet
Set-SPOSite -Identity https://tenantName.sharepoint.com/sites/MFATest2
-ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "MFAviaContext"
它在 7 月工作,今天我尝试同样的事情时出现错误(我的许可证是:Microsoft 365 E5 Developer(没有 Windows 和音频会议)):
Set-SPOSite : You do not have required licenses to perform this operation. Please read here for licensing related requirements :
https://docs.microsoft.com/en-US/sharepoint/authentication-context-example
At line:1 char:1
+ Set-SPOSite -Identity https://************.sharepoint.com/sites/MFATest ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSiteenter code here
我在我的环境中使用相同的命令对其进行了测试,结果出现了同样的错误。
我的许可证是 Microsoft 365 E5 开发人员门户。
来自微软文档:
将身份验证上下文与 SharePoint 网站一起使用需要为每个访问标记网站的用户提供 Microsoft 365 E5 或 Microsoft 365 E5 合规性许可证。
我再次测试了不同的许可证,即 Microsoft 365 E5 Compliance,它成功了。
注意:请使用 Microsoft 365 E5 或 Microsoft 365 E5 Compliance 许可证。
参考:
Manage site access based on sensitivity label - SharePoint in Microsoft 365 | Microsoft Docs
它在几周前工作,但是当我今天尝试同样的事情时,我遇到了错误。 我正在使用 SHarepoint 在线测试身份验证上下文是否满足 g运行ular MFA 要求(这是预览功能)
- 在 Azure 门户中,我使用使用此上下文的 MFA 创建了身份验证上下文和 CA 策略。
- 在 SharePoint I 上 运行 这个 cmdlet
Set-SPOSite -Identity https://tenantName.sharepoint.com/sites/MFATest2 -ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "MFAviaContext"
它在 7 月工作,今天我尝试同样的事情时出现错误(我的许可证是:Microsoft 365 E5 Developer(没有 Windows 和音频会议)):
Set-SPOSite : You do not have required licenses to perform this operation. Please read here for licensing related requirements :
https://docs.microsoft.com/en-US/sharepoint/authentication-context-example
At line:1 char:1
+ Set-SPOSite -Identity https://************.sharepoint.com/sites/MFATest ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSiteenter code here
我在我的环境中使用相同的命令对其进行了测试,结果出现了同样的错误。
我的许可证是 Microsoft 365 E5 开发人员门户。
来自微软文档:
将身份验证上下文与 SharePoint 网站一起使用需要为每个访问标记网站的用户提供 Microsoft 365 E5 或 Microsoft 365 E5 合规性许可证。
我再次测试了不同的许可证,即 Microsoft 365 E5 Compliance,它成功了。
注意:请使用 Microsoft 365 E5 或 Microsoft 365 E5 Compliance 许可证。
参考:
Manage site access based on sensitivity label - SharePoint in Microsoft 365 | Microsoft Docs