Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

excludePlatforms not updating when configsetting is empty

Open MarzelLaning42 opened this issue 1 year ago • 1 comments

Description of the issue

Empty excludePlatforms is not pushing to Conditional Access Policy

Microsoft 365 DSC Version

1.25.611.1

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

AADConditionalAccessPolicy "AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-ClientAppOrAPP"
        {
            TenantId                                 = $tenantID;
            ApplicationId                            = $ApplicationId;
            CertificateThumbprint                    = $CertificateThumbprint;
            ApplicationEnforcedRestrictionsIsEnabled = $False;
            AuthenticationContexts                   = @();
            BuiltInControls                          = @("compliantApplication");
            ClientAppTypes                           = @("all");
            CloudAppSecurityIsEnabled                = $False;
            CloudAppSecurityType                     = "";
            CustomAuthenticationFactors              = @();
            DeviceFilterRule                         = "";
            DisplayName                              = "CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-ClientAppOrAPP";
            Ensure                                   = "Present";
            ExcludeApplications                      = @();
            ExcludeExternalTenantsMembers            = @();
            ExcludeExternalTenantsMembershipKind     = "";
            ExcludeGroups                            = @("CA-BreakGlassAccounts");
            ExcludeLocations                         = @();
            ExcludePlatforms                         = @();
            ExcludeRoles                             = @();
            ExcludeUsers                             = @();
            GrantControlOperator                     = "OR";
            IncludeApplications                      = @("All");
            IncludeExternalTenantsMembers            = @();
            IncludeExternalTenantsMembershipKind     = "";
            IncludeGroups                            = @("CA0221-TestGroup");
            IncludeLocations                         = @();
            IncludePlatforms                         = @("android","iOS");
            IncludeRoles                             = @();
            IncludeUserActions                       = @();
            IncludeUsers                             = @();
            PersistentBrowserIsEnabled               = $False;
            PersistentBrowserMode                    = "";
            SignInFrequencyIsEnabled                 = $False;
            SignInFrequencyType                      = "";
            SignInRiskLevels                         = @();
            TransferMethods                          = "";
            UserRiskLevels                           = @();
            State                                    = "enabledForReportingButNotEnforced";

Verbose logs showing the problem

2025-07-08T08:58:36.8895316Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:36.8898213Z AppOrAPP] Target Values: ApplicationEnforcedRestrictionsIsEnabled=False
2025-07-08T08:58:36.8898540Z 
2025-07-08T08:58:36.8898861Z AuthenticationContexts=()
2025-07-08T08:58:36.8899071Z 
2025-07-08T08:58:36.8899416Z BuiltInControls=(compliantApplication)
2025-07-08T08:58:36.8900934Z 
2025-07-08T08:58:36.8902288Z ClientAppTypes=(all)
2025-07-08T08:58:36.8902389Z 
2025-07-08T08:58:36.8902581Z CloudAppSecurityIsEnabled=False
2025-07-08T08:58:36.8902689Z 
2025-07-08T08:58:36.8902864Z CloudAppSecurityType=
2025-07-08T08:58:36.8902959Z 
2025-07-08T08:58:36.8903144Z CustomAuthenticationFactors=()
2025-07-08T08:58:36.8903246Z 
2025-07-08T08:58:36.8903425Z DeviceFilterRule=
2025-07-08T08:58:36.8903511Z 
2025-07-08T08:58:36.8904097Z DisplayName=CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-ClientAppOrAPP
2025-07-08T08:58:36.8904248Z 
2025-07-08T08:58:36.8904429Z ExcludeApplications=()
2025-07-08T08:58:36.8904529Z 
2025-07-08T08:58:36.8904715Z ExcludeExternalTenantsMembers=()
2025-07-08T08:58:36.8904821Z 
2025-07-08T08:58:36.8905015Z ExcludeExternalTenantsMembershipKind=
2025-07-08T08:58:36.8905125Z 
2025-07-08T08:58:36.8905316Z ExcludeGroups=(CA-BreakGlassAccounts)
2025-07-08T08:58:36.8905575Z 
2025-07-08T08:58:36.8905760Z ExcludeLocations=()
2025-07-08T08:58:36.8905858Z 
2025-07-08T08:58:36.8906041Z ExcludePlatforms=()
2025-07-08T08:58:36.8906134Z 
2025-07-08T08:58:36.8906314Z ExcludeRoles=()
2025-07-08T08:58:36.8906413Z 
2025-07-08T08:58:36.8906580Z ExcludeUsers=()
2025-07-08T08:58:36.8907556Z 
2025-07-08T08:58:36.8908031Z GrantControlOperator=OR
2025-07-08T08:58:36.8908138Z 
2025-07-08T08:58:36.8908379Z IncludeApplications=(All)
2025-07-08T08:58:36.8908524Z 
2025-07-08T08:58:36.8908748Z IncludeExternalTenantsMembers=()
2025-07-08T08:58:36.8908892Z 
2025-07-08T08:58:36.8909126Z IncludeExternalTenantsMembershipKind=
2025-07-08T08:58:36.8909236Z 
2025-07-08T08:58:36.8909470Z IncludeGroups=(CA0221-TestGroup)
2025-07-08T08:58:36.8909612Z 
2025-07-08T08:58:36.8909828Z IncludeLocations=()
2025-07-08T08:58:36.8909959Z 
2025-07-08T08:58:36.8910187Z IncludePlatforms=(android,iOS)
2025-07-08T08:58:36.8910323Z 
2025-07-08T08:58:36.8910533Z IncludeRoles=()
2025-07-08T08:58:36.8910685Z 
2025-07-08T08:58:36.8910898Z IncludeUserActions=()
2025-07-08T08:58:36.8911031Z 
2025-07-08T08:58:36.8911248Z IncludeUsers=()
2025-07-08T08:58:36.8911375Z 
2025-07-08T08:58:36.8911611Z PersistentBrowserIsEnabled=False
2025-07-08T08:58:36.8911755Z 
2025-07-08T08:58:36.8911974Z PersistentBrowserMode=
2025-07-08T08:58:36.8912105Z 
2025-07-08T08:58:36.8912330Z SignInFrequencyIsEnabled=False
2025-07-08T08:58:36.8912470Z 
2025-07-08T08:58:36.8912681Z SignInFrequencyType=
2025-07-08T08:58:36.8912811Z 
2025-07-08T08:58:36.8913030Z SignInRiskLevels=()
2025-07-08T08:58:36.8913150Z 
2025-07-08T08:58:36.8913392Z State=enabledForReportingButNotEnforced
2025-07-08T08:58:36.8913531Z 
2025-07-08T08:58:36.8913755Z TransferMethods=
2025-07-08T08:58:36.8913876Z 
2025-07-08T08:58:36.8914100Z UserRiskLevels=()
2025-07-08T08:58:37.0949954Z VERBOSE: [fv-az902-579]:                            
2025-07-08T08:58:37.0958303Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:37.0958891Z AppOrAPP] Test-TargetResource returned False
2025-07-08T08:58:37.0959236Z VERBOSE: [fv-az902-579]: LCM:  [ End    Test     ]  
2025-07-08T08:58:37.0959623Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:37.0959986Z AppOrAPP]  in 1.0860 seconds.
...
2025-07-08T08:58:37.7268263Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:37.7268783Z AppOrAPP] Retrieved policy:
2025-07-08T08:58:37.7268983Z 
2025-07-08T08:58:37.7269276Z {
2025-07-08T08:58:37.7269440Z 
2025-07-08T08:58:37.7269736Z     "Conditions":  {
2025-07-08T08:58:37.7269916Z 
2025-07-08T08:58:37.7270746Z                        "Applications":  {
2025-07-08T08:58:37.7284210Z 
2025-07-08T08:58:37.7284583Z                                             "ApplicationFilter":  
2025-07-08T08:58:37.7284924Z "Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphConditionalAccessFilter",
2025-07-08T08:58:37.7285143Z 
2025-07-08T08:58:37.7285406Z                                             "ExcludeApplications":  "",
2025-07-08T08:58:37.7285582Z 
2025-07-08T08:58:37.7285851Z                                             "IncludeApplications":  "All",
2025-07-08T08:58:37.7286030Z 
2025-07-08T08:58:37.7286335Z                                             "IncludeAuthenticationContextClassReferences":  "",
2025-07-08T08:58:37.7286538Z 
2025-07-08T08:58:37.7286797Z                                             "IncludeUserActions":  ""
2025-07-08T08:58:37.7286966Z 
2025-07-08T08:58:37.7287213Z                                         },
2025-07-08T08:58:37.7287367Z 
2025-07-08T08:58:37.7287630Z                        "AuthenticationFlows":  {
2025-07-08T08:58:37.7287807Z 
2025-07-08T08:58:37.7288068Z                                                    "TransferMethods":  null
2025-07-08T08:58:37.7288238Z 
2025-07-08T08:58:37.7288490Z                                                },
2025-07-08T08:58:37.7288644Z 
2025-07-08T08:58:37.7288899Z                        "ClientAppTypes":  [
2025-07-08T08:58:37.7289064Z 
2025-07-08T08:58:37.7289312Z                                               "all"
2025-07-08T08:58:37.7289506Z 
2025-07-08T08:58:37.7289758Z                                           ],
2025-07-08T08:58:37.7289917Z 
2025-07-08T08:58:37.7290175Z                        "ClientApplications":  {
2025-07-08T08:58:37.7290349Z 
2025-07-08T08:58:37.7290623Z                                                   "ExcludeServicePrincipals":  null,
2025-07-08T08:58:37.7290809Z 
2025-07-08T08:58:37.7291083Z                                                   "IncludeServicePrincipals":  null,
2025-07-08T08:58:37.7291261Z 
2025-07-08T08:58:37.7291525Z                                                   "ServicePrincipalFilter":  
2025-07-08T08:58:37.7291861Z "Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphConditionalAccessFilter"
2025-07-08T08:58:37.7292064Z 
2025-07-08T08:58:37.7292319Z                                               },
2025-07-08T08:58:37.7292465Z 
2025-07-08T08:58:37.7292731Z                        "DeviceStates":  {
2025-07-08T08:58:37.7292885Z 
2025-07-08T08:58:37.7293157Z                                             "ExcludeStates":  null,
2025-07-08T08:58:37.7293321Z 
2025-07-08T08:58:37.7293593Z                                             "IncludeStates":  null
2025-07-08T08:58:37.7293754Z 
2025-07-08T08:58:37.7294167Z                                         },
2025-07-08T08:58:37.7294316Z 
2025-07-08T08:58:37.7294579Z                        "Devices":  {
2025-07-08T08:58:37.7294731Z 
2025-07-08T08:58:37.7294999Z                                        "DeviceFilter":  
2025-07-08T08:58:37.7295323Z "Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphConditionalAccessFilter",
2025-07-08T08:58:37.7295544Z 
2025-07-08T08:58:37.7295815Z                                        "ExcludeDeviceStates":  null,
2025-07-08T08:58:37.7295992Z 
2025-07-08T08:58:37.7296254Z                                        "ExcludeDevices":  null,
2025-07-08T08:58:37.7296429Z 
2025-07-08T08:58:37.7296707Z                                        "IncludeDeviceStates":  null,
2025-07-08T08:58:37.7296881Z 
2025-07-08T08:58:37.7297163Z                                        "IncludeDevices":  null
2025-07-08T08:58:37.7297397Z 
2025-07-08T08:58:37.7297648Z                                    },
2025-07-08T08:58:37.7297808Z 
2025-07-08T08:58:37.7298075Z                        "InsiderRiskLevels":  null,
2025-07-08T08:58:37.7298252Z 
2025-07-08T08:58:37.7298503Z                        "Locations":  {
2025-07-08T08:58:37.7298665Z 
2025-07-08T08:58:37.7298930Z                                          "ExcludeLocations":  null,
2025-07-08T08:58:37.7299104Z 
2025-07-08T08:58:37.7299363Z                                          "IncludeLocations":  null
2025-07-08T08:58:37.7299538Z 
2025-07-08T08:58:37.7299946Z                                      },
2025-07-08T08:58:37.7300200Z 
2025-07-08T08:58:37.7300470Z                        "Platforms":  {
2025-07-08T08:58:37.7300632Z 
2025-07-08T08:58:37.7300897Z                                          "ExcludePlatforms":  "android",
2025-07-08T08:58:37.7301075Z 
2025-07-08T08:58:37.7301364Z                                          "IncludePlatforms":  "android iOS"
2025-07-08T08:58:37.7301532Z 
2025-07-08T08:58:37.7301788Z                                      },
2025-07-08T08:58:37.7301939Z 
2025-07-08T08:58:37.7302225Z                        "ServicePrincipalRiskLevels":  null,
2025-07-08T08:58:37.7302397Z 
2025-07-08T08:58:37.7302671Z                        "SignInRiskLevels":  [
2025-07-08T08:58:37.7302831Z 
2025-07-08T08:58:37.7302978Z 
2025-07-08T08:58:37.7303115Z 
2025-07-08T08:58:37.7303370Z                                             ],
2025-07-08T08:58:37.7303536Z 
2025-07-08T08:58:37.7303862Z                        "UserRiskLevels":  [
2025-07-08T08:58:37.7304027Z 
2025-07-08T08:58:37.7304179Z 
2025-07-08T08:58:37.7304316Z 
2025-07-08T08:58:37.7304571Z                                           ],
2025-07-08T08:58:37.7304716Z 
2025-07-08T08:58:37.7304975Z                        "Users":  {
2025-07-08T08:58:37.7305126Z 
2025-07-08T08:58:37.7305425Z                                      "ExcludeGroups":  "3e501c2f-f7b5-4eab-93f3-ab426e43ebee",
2025-07-08T08:58:37.7305615Z 
2025-07-08T08:58:37.7305897Z                                      "ExcludeGuestsOrExternalUsers":  
2025-07-08T08:58:37.7306251Z "Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphConditionalAccessGuestsOrExternalUsers",
2025-07-08T08:58:37.7306478Z 
2025-07-08T08:58:37.7306733Z                                      "ExcludeRoles":  "",
2025-07-08T08:58:37.7306901Z 
2025-07-08T08:58:37.7307157Z                                      "ExcludeUsers":  "",
2025-07-08T08:58:37.7307319Z 
2025-07-08T08:58:37.7307601Z                                      "IncludeGroups":  "0964c8b0-f2cd-497a-8aae-ca1f0bc02ba5",
2025-07-08T08:58:37.7307798Z 
2025-07-08T08:58:37.7308066Z                                      "IncludeGuestsOrExternalUsers":  
2025-07-08T08:58:37.7308418Z "Microsoft.Graph.Beta.PowerShell.Models.MicrosoftGraphConditionalAccessGuestsOrExternalUsers",
2025-07-08T08:58:37.7308633Z 
2025-07-08T08:58:37.7308901Z                                      "IncludeRoles":  "",
2025-07-08T08:58:37.7309056Z 
2025-07-08T08:58:37.7309317Z                                      "IncludeUsers":  ""
2025-07-08T08:58:37.7309587Z 
2025-07-08T08:58:37.7309840Z                                  }
2025-07-08T08:58:37.7309988Z 
2025-07-08T08:58:37.7310254Z                    },
2025-07-08T08:58:37.7310399Z 
2025-07-08T08:58:37.7310694Z     "CreatedDateTime":  "\/Date(1740061025421)\/",
2025-07-08T08:58:37.7310868Z 
2025-07-08T08:58:37.7311126Z     "Description":  null,
2025-07-08T08:58:37.7311297Z 
2025-07-08T08:58:37.7311609Z     "DisplayName":  "CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-ClientAppOrAPP",
2025-07-08T08:58:37.7311831Z 
2025-07-08T08:58:37.7312085Z     "GrantControls":  {
2025-07-08T08:58:37.7312256Z 
2025-07-08T08:58:37.7312517Z                           "AuthenticationStrength":  {
2025-07-08T08:58:37.7312694Z 
2025-07-08T08:58:37.7312969Z                                                          "AllowedCombinations":  null,
2025-07-08T08:58:37.7313210Z 
2025-07-08T08:58:37.7314002Z                                                          "CombinationConfigurations":  null,
2025-07-08T08:58:37.7315043Z 
2025-07-08T08:58:37.7315352Z                                                          "CreatedDateTime":  null,
2025-07-08T08:58:37.7315532Z 
2025-07-08T08:58:37.7315795Z                                                          "Description":  null,
2025-07-08T08:58:37.7315970Z 
2025-07-08T08:58:37.7316232Z                                                          "DisplayName":  null,
2025-07-08T08:58:37.7316400Z 
2025-07-08T08:58:37.7316669Z                                                          "Id":  null,
2025-07-08T08:58:37.7316823Z 
2025-07-08T08:58:37.7317100Z                                                          "ModifiedDateTime":  null,
2025-07-08T08:58:37.7317265Z 
2025-07-08T08:58:37.7317539Z                                                          "PolicyType":  null,
2025-07-08T08:58:37.7317697Z 
2025-07-08T08:58:37.7317982Z                                                          "RequirementsSatisfied":  null
2025-07-08T08:58:37.7318155Z 
2025-07-08T08:58:37.7318416Z                                                      },
2025-07-08T08:58:37.7318561Z 
2025-07-08T08:58:37.7321063Z                           "BuiltInControls":  [
2025-07-08T08:58:37.7321260Z 
2025-07-08T08:58:37.7321543Z                                                   "compliantApplication"
2025-07-08T08:58:37.7321709Z 
2025-07-08T08:58:37.7321962Z                                               ],
2025-07-08T08:58:37.7322106Z 
2025-07-08T08:58:37.7322380Z                           "CustomAuthenticationFactors":  [
2025-07-08T08:58:37.7322548Z 
2025-07-08T08:58:37.7322695Z 
2025-07-08T08:58:37.7322831Z 
2025-07-08T08:58:37.7323085Z                                                           ],
2025-07-08T08:58:37.7323232Z 
2025-07-08T08:58:37.7323496Z                           "Operator":  "OR",
2025-07-08T08:58:37.7323651Z 
2025-07-08T08:58:37.7323920Z                           "TermsOfUse":  [
2025-07-08T08:58:37.7324075Z 
2025-07-08T08:58:37.7324224Z 
2025-07-08T08:58:37.7324360Z 
2025-07-08T08:58:37.7324615Z                                          ]
2025-07-08T08:58:37.7324760Z 
2025-07-08T08:58:37.7325005Z                       },
2025-07-08T08:58:37.7325150Z 
2025-07-08T08:58:37.7325437Z     "Id":  "088d223c-7654-4443-aff8-35c8920f60af",
2025-07-08T08:58:37.7325613Z 
2025-07-08T08:58:37.7325897Z     "ModifiedDateTime":  "\/Date(1751964303726)\/",
2025-07-08T08:58:37.7326070Z 
2025-07-08T08:58:37.7326326Z     "SessionControls":  {
2025-07-08T08:58:37.7326504Z 
2025-07-08T08:58:37.7326788Z                             "ApplicationEnforcedRestrictions":  {
2025-07-08T08:58:37.7326961Z 
2025-07-08T08:58:37.7327236Z                                                                     "IsEnabled":  null
2025-07-08T08:58:37.7327407Z 
2025-07-08T08:58:37.7327676Z                                                                 },
2025-07-08T08:58:37.7327825Z 
2025-07-08T08:58:37.7328090Z                             "CloudAppSecurity":  {
2025-07-08T08:58:37.7328374Z 
2025-07-08T08:58:37.7328667Z                                                      "CloudAppSecurityType":  null,
2025-07-08T08:58:37.7328836Z 
2025-07-08T08:58:37.7329104Z                                                      "IsEnabled":  null
2025-07-08T08:58:37.7329264Z 
2025-07-08T08:58:37.7329519Z                                                  },
2025-07-08T08:58:37.7329664Z 
2025-07-08T08:58:37.7329946Z                             "ContinuousAccessEvaluation":  {
2025-07-08T08:58:37.7330113Z 
2025-07-08T08:58:37.7330373Z                                                                "Mode":  null
2025-07-08T08:58:37.7330528Z 
2025-07-08T08:58:37.7330784Z                                                            },
2025-07-08T08:58:37.7330931Z 
2025-07-08T08:58:37.7331212Z                             "DisableResilienceDefaults":  null,
2025-07-08T08:58:37.7331434Z 
2025-07-08T08:58:37.7331726Z                             "GlobalSecureAccessFilteringProfile":  {
2025-07-08T08:58:37.7331905Z 
2025-07-08T08:58:37.7332181Z                                                                        "IsEnabled":  null,
2025-07-08T08:58:37.7332341Z 
2025-07-08T08:58:37.7332617Z                                                                        "ProfileId":  null
2025-07-08T08:58:37.7332777Z 
2025-07-08T08:58:37.7333045Z                                                                    },
2025-07-08T08:58:37.7333193Z 
2025-07-08T08:58:37.7333464Z                             "PersistentBrowser":  {
2025-07-08T08:58:37.7333637Z 
2025-07-08T08:58:37.7333898Z                                                       "IsEnabled":  null,
2025-07-08T08:58:37.7334740Z 
2025-07-08T08:58:37.7336801Z                                                       "Mode":  null
2025-07-08T08:58:37.7337101Z 
2025-07-08T08:58:37.7337383Z                                                   },
2025-07-08T08:58:37.7337537Z 
2025-07-08T08:58:37.7337812Z                             "SecureSignInSession":  {
2025-07-08T08:58:37.7337983Z 
2025-07-08T08:58:37.7338503Z                                                         "IsEnabled":  null
2025-07-08T08:58:37.7340900Z 
2025-07-08T08:58:37.7343306Z                                                     },
2025-07-08T08:58:37.7343575Z 
2025-07-08T08:58:37.7343894Z                             "SignInFrequency":  {
2025-07-08T08:58:37.7344056Z 
2025-07-08T08:58:37.7344335Z                                                     "AuthenticationType":  null,
2025-07-08T08:58:37.7344505Z 
2025-07-08T08:58:37.7344780Z                                                     "FrequencyInterval":  null,
2025-07-08T08:58:37.7344947Z 
2025-07-08T08:58:37.7345210Z                                                     "IsEnabled":  null,
2025-07-08T08:58:37.7345371Z 
2025-07-08T08:58:37.7345648Z                                                     "Type":  null,
2025-07-08T08:58:37.7345817Z 
2025-07-08T08:58:37.7346086Z                                                     "Value":  null
2025-07-08T08:58:37.7346245Z 
2025-07-08T08:58:37.7346497Z                                                 }
2025-07-08T08:58:37.7346643Z 
2025-07-08T08:58:37.7346888Z                         },
2025-07-08T08:58:37.7347035Z 
2025-07-08T08:58:37.7347295Z     "State":  "enabled",
2025-07-08T08:58:37.7347451Z 
2025-07-08T08:58:37.7347719Z     "AdditionalProperties":  {
2025-07-08T08:58:37.7347881Z 
2025-07-08T08:58:37.7348025Z 
2025-07-08T08:58:37.7351097Z 
2025-07-08T08:58:37.7351782Z                              }
2025-07-08T08:58:37.7352880Z 
2025-07-08T08:58:37.7353903Z }
...
2025-07-08T08:58:38.2098842Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:38.2099193Z AppOrAPP] Updating existing policy with values: ConditionalAccessPolicyId=088d223c-7654-4443-aff8-35c8920f60af
2025-07-08T08:58:38.2099738Z 
2025-07-08T08:58:38.2100029Z conditions={applications={excludeApplications=()
2025-07-08T08:58:38.2100133Z 
2025-07-08T08:58:38.2100378Z includeApplications=(All)}
2025-07-08T08:58:38.2100463Z 
2025-07-08T08:58:38.2100636Z authenticationFlows=$null
2025-07-08T08:58:38.2100727Z 
2025-07-08T08:58:38.2100893Z clientAppTypes=(all)
2025-07-08T08:58:38.2100982Z 
2025-07-08T08:58:38.2101186Z platforms={includePlatforms=(android,iOS)}
2025-07-08T08:58:38.2101289Z 
2025-07-08T08:58:38.2101450Z signInRiskLevels=()
2025-07-08T08:58:38.2101685Z 
2025-07-08T08:58:38.2101853Z userRiskLevels=()
2025-07-08T08:58:38.2101927Z 
2025-07-08T08:58:38.2102148Z users={excludeGroups=(3e501c2f-f7b5-4eab-93f3-ab426e43ebee)
2025-07-08T08:58:38.2102257Z 
2025-07-08T08:58:38.2102430Z excludeRoles=()
2025-07-08T08:58:38.2102503Z 
2025-07-08T08:58:38.2102676Z excludeUsers=()
2025-07-08T08:58:38.2102747Z 
2025-07-08T08:58:38.2102956Z includeGroups=(917d7d0c-80f0-4ee9-80e2-950231ab4f34)
2025-07-08T08:58:38.2103061Z 
2025-07-08T08:58:38.2103220Z includeRoles=()
2025-07-08T08:58:38.2103304Z 
2025-07-08T08:58:38.2103463Z includeUsers=()}}
2025-07-08T08:58:38.2103544Z 
2025-07-08T08:58:38.2103776Z displayName=CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-ClientAppOrAPP
2025-07-08T08:58:38.2103914Z 
2025-07-08T08:58:38.2104108Z grantControls={builtInControls=(compliantApplication)
2025-07-08T08:58:38.2104220Z 
2025-07-08T08:58:38.2104433Z operator=OR}
2025-07-08T08:58:38.2104516Z 
2025-07-08T08:58:38.2104702Z state=enabledForReportingButNotEnforced
2025-07-08T08:58:38.2104918Z VERBOSE: [fv-az902-579]:                            
2025-07-08T08:58:38.2105214Z [[AADConditionalAccessPolicy]AADConditionalAccessPolicy-CA0221-Internals-DataAndAppProtection-AllApps-AndroidiOS-Client
2025-07-08T08:58:38.2105475Z AppOrAPP] PATCH

Environment Information + PowerShell Version

Windows (via MS Hosted ADO agent)
Windows PowerShell 5.1

MarzelLaning42 avatar Jul 09 '25 08:07 MarzelLaning42

Good to mention that I know that setting android/ios as taget platforms in the gui toegether with reportOnly leads to the portal mentioning to explitly exclude several platforms including ios/android

MarzelLaning42 avatar Jul 09 '25 08:07 MarzelLaning42