CmdID / PowerShell / Cmdlets / Set
Set-DeviceConditionalAccessRule
Use the Set-DeviceConditionalAccessRule cmdlet to modify mobile device conditional access rules in Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 53 parameters Its page in the reference
Parameters
Show its 53 parameters
-IdentityThe Identity parameter specifies the mobile device conditional access rule that you want to modify.-TargetGroupsThe TargetGroups parameter specifies the security groups that this rule applies to.-AccountNameThe AccountName parameter specifies the account name.-AccountUserNameThe AccountUserName parameter specifies the account user name.-AllowAppStoreThe AllowAppStore parameter specifies whether to allow access to the app store on devices.-AllowAssistantWhileLockedThe AllowAssistantWhileLocked parameter specifies whether to allow the use of the voice assistant while devices are locked.-AllowConvenienceLogonThe AllowConvenienceLogon parameter specifies whether to allow convenience logons on devices.-AllowDiagnosticSubmissionThe AllowDiagnosticSubmission parameter specifies whether to allow diagnostic submissions from devices.-AllowiCloudBackupThe AllowiCloudBackup parameter specifies whether to allow Apple iCloud Backup from devices.-AllowiCloudDocSyncThe AllowiCloudDocSync parameter specifies whether to allow Apple iCloud Documents & Data sync on devices.-AllowiCloudPhotoSyncThe AllowiCloudPhotoSync parameter specifies whether to allow Apple iCloud Photos sync on devices.-AllowJailbrokenThe AllowJailbroken parameter specifies whether to allow access to your organization by jailbroken or rooted devices.-AllowPassbookWhileLockedThe AllowPassbookWhileLocked parameter specifies whether to allow the use of Apple Passbook while devices are locked.-AllowScreenshotThe AllowScreenshot parameter specifies whether to allow screenshots on devices.-AllowSimplePasswordThe AllowSimplePassword parameter specifies whether to allow simple or non-complex passwords on devices.-AllowVideoConferencingThe AllowVideoConferencing parameter specifies whether to allow video conferencing on devices.-AllowVoiceAssistantThe AllowVoiceAssistant parameter specifies whether to allow using the voice assistant on devices.-AllowVoiceDialingThe AllowVoiceDialing parameter specifies whether to allow voice-activated telephone dialing.-AntiVirusSignatureStatusThe AntiVirusSignatureStatus parameter specifies the antivirus signature status.-AntiVirusStatusThe AntiVirusStatus parameter specifies antivirus status.-AppsRatingThe AppsRating parameter species the maximum or most restrictive rating of apps that are allowed on devices.-AutoUpdateStatusThe AutoUpdateStatus parameter specifies the update settings for devices.-BluetoothEnabledThe BluetoothEnabled parameter specifies whether to enable or disable Bluetooth on devices.-CameraEnabledThe CameraEnabled parameter specifies whether to enable or disable cameras on devices.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThis parameter is reserved for internal Microsoft use.-EmailAddressThe EmailAddress parameter specifies the email address.-EnableRemovableStorageThe EnableRemovableStorage parameter specifies whether removable storage can be used by devices.-ExchangeActiveSyncHostThe ExchangeActiveSyncHost parameter specifies the Exchange ActiveSync host.-FirewallStatusThe FirewallStatus parameter specifies the acceptable firewall status values on devices.-ForceAppStorePasswordThe ForceAppStorePassword parameter specifies whether to require a password to use the app store on devices.-ForceEncryptedBackupThe ForceEncryptedBackup parameter specifies whether to force encrypted backups for devices.-MaxPasswordAttemptsBeforeWipeThe MaxPasswordAttemptsBeforeWipe parameter specifies the number of incorrect password attempts that cause devices to be automatically wiped.-MaxPasswordGracePeriodThe MaxPasswordGracePeriod parameter specifies the length of time users are allowed to reset expired passwords on devices.-MoviesRatingThe MoviesRating parameter species the maximum or most restrictive rating of movies that are allowed on devices.-PasswordComplexityThe PasswordComplexity parameter specifies the password complexity.-PasswordExpirationDaysThe PasswordExpirationDays parameter specifies the number of days that the same password can be used on devices before users are required to change their passwords .-PasswordHistoryCountThe PasswordHistoryCount parameter specifies the minimum number of unique new passwords that are required on devices before an old password can be reused.-PasswordMinComplexCharsThe PasswordMinComplexChars parameter specifies the minimum number of complex characters that are required for device passwords.-PasswordMinimumLengthThe PasswordMinimumLength parameter specifies the minimum number of characters that are required for device passwords.-PasswordQualityThe PasswordQuality parameter specifies the minimum password quality rating that's required for device passwords.-PasswordRequiredThe PasswordRequired parameter specifies whether a password is required to access devices.-PasswordTimeoutThe PasswordTimeout parameter specifies the length of time that devices can be inactive before a password is required to reactivate them.-PhoneMemoryEncryptedThe PhoneMemoryEncrypted parameter specifies whether to encrypt the memory on devices.-RegionRatingsThe RegionRatings parameter specifies the rating system (country/region) to use for movie and television ratings with the MoviesRating and TVShowsRating parameters.-RequireEmailProfileThe RequireEmailProfile parameter specifies whether an email profile is required on devices.-SmartScreenEnabledThe SmartScreenEnabled parameter specifies whether to requireWindows SmartScreen on devices.-SystemSecurityTLSThe SystemSecurityTLS parameter specifies whether TLS encryption is used on devices.-TVShowsRatingThe TVShowsRating parameter species the maximum or most restrictive rating of television shows that are allowed on devices.-UserAccountControlStatusThe UserAccountControlStatus parameter specifies how User Account Control messages are presented on devices.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.-WLANEnabledThe WLANEnabled parameter specifies whether Wi-Fi is enabled devices.-WorkFoldersSyncUrlThe WorkFoldersSyncUrl parameter specifies the URL that's used to synchronize company data on devices.