无法使用条件访问应用程序控件在AzureAD中创建条件访问策略

无法使用条件访问应用程序控件在AzureAD中创建条件访问策略,azure,azure-active-directory,Azure,Azure Active Directory,当我们试图在AzureAD中“使用条件接收应用程序控制”下的会话中使用“阻止下载”/“使用自定义策略”创建条件接收策略时,我们在浏览器控制台中收到“未捕获类型错误:f不是函数”错误。附加的是相同的截图。 不幸的是,我无法在Azure门户中重现“验证策略”错误。我想这是Azure本身的问题,你可以联系微软的支持者 Microsoft Graph API有一个变通方法 1.在上使用您的全局管理员帐户登录 二,。此外,还存在访问策略的条件 注意:同意修改权限下的某些权限 POST https://gr

当我们试图在AzureAD中“使用条件接收应用程序控制”下的会话中使用“阻止下载”/“使用自定义策略”创建条件接收策略时,我们在浏览器控制台中收到“未捕获类型错误:f不是函数”错误。附加的是相同的截图。

不幸的是,我无法在Azure门户中重现“验证策略”错误。我想这是Azure本身的问题,你可以联系微软的支持者

Microsoft Graph API有一个变通方法

1.在上使用您的全局管理员帐户登录

二,。此外,还存在访问策略的条件

注意:同意修改权限下的某些权限

POST https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies
Content-type: application/json

{
    "displayName": "Demo app for documentation",
    "state": "disabled",
    "conditions": {
        "signInRiskLevels": [
            "high",
            "medium"
        ],
        "clientAppTypes": [
            "mobileAppsAndDesktopClients",
            "exchangeActiveSync",
            "other"
        ],
        "applications": {
            "includeApplications": [
                "All"
            ],
            "excludeApplications": [
                "00000007-0000-0000-c000-000000000000"
            ],
            "includeUserActions": []
        },
        "users": {
            "includeUsers": [
                "00000000-0000-0000-0000-000000000000"
            ],
            "excludeUsers": [
                "00000000-0000-0000-0000-000000000000",
                "GuestsOrExternalUsers"
            ],
            "includeGroups": [],
            "excludeGroups": [],
            "includeRoles": [
                "00000000-0000-0000-0000-000000000000"
            ],
            "excludeRoles": [
                "00000000-0000-0000-0000-000000000000"
            ]
        },
        "platforms": {
            "includePlatforms": [
                "all"
            ],
            "excludePlatforms": [
                "iOS",
                "windowsPhone"
            ]
        },
        "locations": {
            "includeLocations": [
                "AllTrusted"
            ],
            "excludeLocations": [
                "00000000-0000-0000-0000-000000000000"
            ]
        }
    },
    "grantControls": null,
    "sessionControls": {
        "applicationEnforcedRestrictions": null,
        "persistentBrowser": null,
        "cloudAppSecurity": {
            "cloudAppSecurityType": "blockDownloads",
            "isEnabled": true
        },
        "signInFrequency": {
            "value": 4,
            "type": "hours",
            "isEnabled": true
        }
    }
}

有一个类似的问题。

这似乎很奇怪,请尝试注销并再次登录azure portal,它应该可以工作。