[Resolved] AADSTS7000112: Application 'b1fd4ebf-2bed-4162-be84-97e0fe523f64'(PlaywrightServiceAADLogin) is disabled.
Symptoms
When using Microsoft Playwright Testing, you fail to sign into the Playwright portal. You receive the following error message:
AADSTS7000112: Application 'b1fd4ebf-2bed-4162-be84-97e0fe523f64'(PlaywrightServiceAADLogin) is disabled.
Cause
This issue occurs if the service principal for Microsoft Playwright Testing is disabled for the tenant.
Resolution
To resolve this issue, you need to enable the service principal for Microsoft Playwright Testing for the tenant.
Important
To enable the service principal, you need to be a tenant admin.
Follow these steps to enable the Microsoft Playwright Testing service principal:
Open an elevated Windows PowerShell command prompt (run Windows PowerShell as an administrator).
Install the Microsoft Azure Active Directory module for Windows PowerShell by running the following cmdlet:
Install-Module MSOnline
Connect to Microsoft Entra ID for your Microsoft 365 subscription by running the following cmdlet:
Connect-MsolService
Check the current status of the service principal for Microsoft Playwright Testing by running the following cmdlet:
(Get-MsolServicePrincipal -AppPrincipalId b1fd4ebf-2bed-4162-be84-97e0fe523f64).accountenabled
Enable the service principal for Microsoft Playwright Testing by running the following cmdlet:
Get-MsolServicePrincipal -AppPrincipalId b1fd4ebf-2bed-4162-be84-97e0fe523f64 | Set-MsolServicePrincipal -AccountEnabled $true
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for