Automatically accept SSO prompt on Windows

In this post, I will show you how to automatically accept the SSO prompt on managed Windows 11 devices using Microsoft Intune, Group Policy or directly through the Windows Registry.

The single sign on prompt

If you are managing Windows 11 devices, you may have noticed the Continue to sign in? prompt when a user opens an application such as Microsoft Company Portal or another Microsoft application.

The prompt asks the user if Windows can use their signed-in Microsoft Entra ID account to automatically sign in to other Microsoft apps and services.

This behavior is especially noticeable in the European Economic Area (EEA), where Microsoft changed the Windows sign-in experience to give users more control over automatically using their Windows account in other applications.

jv-media-8481-b1e226123438.png

On a personal device this isn’t really a problem. The user can simply click Continue and normally won’t be asked again.

On managed devices however, especially freshly installed Microsoft Intune and Windows Autopilot devices, this can interrupt the seamless onboarding experience. For example, Company Portal can automatically start but still waits for the user to accept the SSO permission before it can continue signing in.

Luckily Microsoft has now introduced a supported setting/registry option called:

AutoAcceptSsoPermission

With this policy configured, Windows can automatically accept the SSO permission for Microsoft Entra ID accounts on supported managed devices.

In this post, I will show you three different ways to configure it:

  • Microsoft Intune
  • Group Policy
  • Windows Registry

Requirements

Before configuring this setting, make sure your devices meet the following requirements:

  • Windows 11 version 24H2 or 25H2
  • July 2026 monthly security update (KB5101650) or newer installed
  • Microsoft Entra ID account
  • Administrative permissions for the configuration method you are using

Option 1: Configure with Microsoft Intune

Let’s start with Microsoft Intune. At the moment, Microsoft provides AutoAcceptSsoPermission as a registry-based policy. Because there is no native Settings Catalog setting available for it yet, we can deploy the registry configuration using a PowerShell script which I will demonstrate.

Open the Microsoft Intune admin center and navigate to:

Devices > Scripts and remediations > Platform scripts

Click + Add and select Windows 10 and later to add a new script.

jv-media-8481-b6220640849d.png

Give the script a good name and description:

jv-media-8481-efd77cab6618.png

Then continue to the Script settings page. Create a .ps1 file on your desktop with the following content and save/upload this file:

PowerShell
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AAD" -Force | Out-Null; New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AAD" -Name "AutoAcceptSsoPermission" -Value 1 -PropertyType DWord -Force | Out-Null

You can download a full and ready file from here:

View on my GitHub page

Then back in Intune, configure the following script settings:

  • Run this script using the logged on credentials: Yes
  • Enforce script signature check: No
  • Run script in 64-bit PowerShell host: Yes

jv-media-8481-f005ba7628a0.png

Continue to the Assignments tab and assign the script to the device group containing the Windows 11 devices where you want to automatically accept the SSO permission. Then finish the wizard and create the script.

jv-media-8481-821fe6f73864.png

Microsoft Intune will now deploy the script through the Intune Management Extension. After the script has been executed, the following registry configuration should exist and successfully configured on the device:

HKLM\SOFTWARE\Policies\Microsoft\Windows\AAD\AutoAcceptSsoPermission

jv-media-8481-15fdfa00009b.png


Option 2: Configure with Group Policy

If your Windows devices are managed using Active Directory and traditional Group Policy, we can configure exactly the same registry setting through a GPO. Because AutoAcceptSsoPermission is a registry-based policy, we can use Group Policy Preferences to configure the required registry value, which is more easy than a PowerShell script.

Open the Group Policy Management Console (gpmc.msc):

Create a new Group Policy Object or use an existing GPO containing your Windows device configuration. Then edit the GPO and navigate to:

Computer Configuration > Preferences > Windows Settings > Registry

Here, right click the empty space and create a new Registry Item.

jv-media-8481-148aeac9ba15.png

Configure the following settings:

SettingValue
ActionUpdate
HiveHKEY_LOCAL_MACHINE
Key PathSOFTWARE\Policies\Microsoft\Windows\AAD
Value nameAutoAcceptSsoPermission
Value typeREG_DWORD
Value data1

As shown as in the image below:

jv-media-8481-574e2fd291e3.png

Click Apply and OK. Then link the Group Policy Object to the Organizational Unit containing the computers where you want to configure this setting if not already done so.

You can wait for the normal Group Policy refresh or manually force an update on a test device:

cmd
gpupdate /force

After the Group Policy has been applied, check the following registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AAD

You should now see the key and DWORD value configured.

jv-media-8481-15fdfa00009b.png


Option 3: Configure directly through Registry

Of course, we can also configure the setting directly in the Windows Registry.

I would mainly use this option for testing or troubleshooting. When deploying this configuration to multiple managed devices, I recommend using Microsoft Intune or Group Policy instead.

Open PowerShell or Command Prompt with administrative permissions and run:

cmd
reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AAD" /v "AutoAcceptSsoPermission" /t REG_DWORD /d 1 /f

Or if you prefer to configure PowerShell:

PowerShell
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AAD" -Force | Out-Null; New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\AAD" -Name "AutoAcceptSsoPermission" -Value 1 -PropertyType DWord -Force | Out-Null

You can also manually check this by opening Registry Editor (regedit.exe) and navigating to:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AAD

jv-media-8481-15fdfa00009b.png

The AutoAcceptSsoPermission DWORD should have a value of 1.


Summary

This guide demonstrated the new AutoAcceptSsoPermission configuration. We can deploy this setting using Microsoft Intune, Group Policy or directly through the Windows Registry.

For Microsoft Intune environments I prefer deploying the setting using a device-context PowerShell script. For traditional Active Directory environments, Group Policy Preferences is an easy way to configure exactly the same registry value, as we can change this relatively easy.

After applying the policy, supported managed Windows devices can automatically accept the SSO permission for Microsoft Entra ID accounts, making the sign-in and onboarding experience a little bit more seamless.

Thank you for reading this post and I hope it was helpful!

 

End of the page 🎉

You have reached the end of the page. You can navigate through other blog posts as well, share this post on X, LinkedIn and Reddit or return to the blog posts collection page. Thank you for visiting this post.

Page last updated October 14, 2026: Updated summary section (415017f)