---
title: Policy CSP - MixedReality
description: Policy CSP - MixedReality
ms.author: dansimp
ms.localizationpriority: medium
ms.topic: article
ms.prod: w10
ms.technology: windows
author: manikadhiman
ms.date: 10/12/2021
ms.reviewer:
manager: dansimp
---
# Policy CSP - MixedReality
## MixedReality policies
-
MixedReality/AADGroupMembershipCacheValidityInDays
-
MixedReality/AutoLogonUser
-
MixedReality/BrightnessButtonDisabled
-
MixedReality/FallbackDiagnostics
-
MixedReality/MicrophoneDisabled
-
MixedReality/VolumeButtonDisabled
**MixedReality/AADGroupMembershipCacheValidityInDays**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
Steps to use this policy correctly:
1. Create a device configuration profile for kiosk targeting Azure AD groups and assign it to HoloLens device(s).
1. Create a custom OMA URI-based device configuration that sets this policy value to chosen number of days (> 0) and assign it to HoloLens devices.
1. The URI value should be entered in OMA-URI text box as ./Vendor/MSFT/Policy/Config/MixedReality/AADGroupMembershipCacheValidityInDays
1. The value can be between min / max allowed.
1. Enroll HoloLens devices and verify both configurations get applied to the device.
1. Let Azure AD user 1 sign-in when internet is available. Once the user signs-in and Azure AD group membership is confirmed successfully, cache will be created.
1. Now Azure AD user 1 can take HoloLens offline and use it for kiosk mode as long as policy value allows for X number of days.
1. Steps 4 and 5 can be repeated for any other Azure AD user N. The key point is that any Azure AD user must sign in to device using Internet at least once. Then we can determine that they are member of Azure AD group to which Kiosk configuration is targeted.
> [!NOTE]
> Until step 4 is performed for a Azure AD user will experience failure behavior mentioned similar to “disconnected” environments.
**MixedReality/AutoLogonUser**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
This new AutoLogonUser policy controls whether a user will be automatically logged on. Some customers want to set up devices that are tied to an identity but don't want any sign in experience. Imagine picking up a device and using remote assist immediately. Or have a benefit of being able to rapidly distribute HoloLens devices and enable their end users to speed up login.
When the policy is set to a non-empty value, it specifies the email address of the auto log on user. The specified user must logon to the device at least once to enable autologon.
The OMA-URI of new policy `./Device/Vendor/MSFT/Policy/Config/MixedReality/AutoLogonUser`
String value
- User with the same email address will have autologon enabled.
On a device where this policy is configured, the user specified in the policy will need to log on at least once. Subsequent reboots of the device after the first logon will have the specified user automatically logged on. Only a single autologon user is supported. Once enabled, the automatically logged on user will not be able to log out manually. To log on as a different user, the policy must first be disabled.
> [!NOTE]
>
> - Some events such as major OS updates may require the specified user to logon to the device again to resume auto-logon behavior.
> - Auto-logon is only supported for MSA and AAD users.
[Scope](./policy-configuration-service-provider.md#policy-scope):
> [!div class = "checklist"]
> * Device
This policy setting controls for how many days Azure AD group membership cache is allowed to be used for Assigned Access configurations targeting Azure AD groups for signed in user. Once this policy setting is set only then cache is used otherwise not. In order for this policy setting to take effect, user must sign out and sign in with Internet available at least once before the cache can be used for subsequent "disconnected" sessions.
Supported values are 0-60. The default value is 0 (day) and maximum value is 60 (days).
**MixedReality/BrightnessButtonDisabled**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
[Scope](./policy-configuration-service-provider.md#policy-scope):
> [!div class = "checklist"]
> * Device
This policy setting controls if pressing the brightness button changes the brightness or not. It only impacts brightness on HoloLens and not the functionality of the button when it is used with other buttons as combination for other purposes.
The following list shows the supported values:
- 0 - False (Default)
- 1 - True
**MixedReality/FallbackDiagnostics**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
[Scope](./policy-configuration-service-provider.md#policy-scope):
> [!div class = "checklist"]
> * Device
This policy setting controls when and if diagnostic logs can be collected using specific button combination on HoloLens.
The following list shows the supported values:
- 0 - Disabled
- 1 - Enabled for device owners
- 2 - Enabled for all (Default)
**MixedReality/MicrophoneDisabled**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
[Scope](./policy-configuration-service-provider.md#policy-scope):
> [!div class = "checklist"]
> * Device
This policy setting controls whether microphone on HoloLens 2 is disabled or not.
The following list shows the supported values:
- 0 - False (Default)
- 1 - True
**MixedReality/VolumeButtonDisabled**
Windows Edition |
Supported? |
HoloLens (1st gen) Development Edition |
❌ |
HoloLens (1st gen) Commercial Suite |
❌ |
HoloLens 2 |
✔️ |
[Scope](./policy-configuration-service-provider.md#policy-scope):
> [!div class = "checklist"]
> * Device
This policy setting controls if pressing the volume button changes the volume or not. It only impacts volume on HoloLens and not the functionality of the button when it is used with other buttons as combination for other purposes.
The following list shows the supported values:
- 0 - False (Default)
- 1 - True