Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.92 KB

troubleshoot-unable-sign-into-playwright-portal.md

File metadata and controls

53 lines (34 loc) · 1.92 KB
title description ms.topic ms.date
[Resolved] Trouble signing into Playwright portal
How to resolve the issue with signing into the Playwright portal, which results in error code AADSTS7000112.
troubleshooting-problem-resolution
10/04/2023

[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:

  1. Open an elevated Windows PowerShell command prompt (run Windows PowerShell as an administrator).

  2. Install the Microsoft Azure Active Directory module for Windows PowerShell by running the following cmdlet:

    Install-Module MSOnline
  3. Connect to Microsoft Entra ID for your Microsoft 365 subscription by running the following cmdlet:

    Connect-MsolService
  4. 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
  5. 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