Description
I have created a React-Fluent-ui tab project using teams toolkit. When I am trying to run/debug my project using teams-toolkit, it prompts me to sign in into Microsoft 365 first, when trying to sign in getting
"
Sorry, a security policy is preventing access
An organization security policy requiring token protection is preventing this application from accessing the resource. You may be able to use a different application.
Error Code: 53003
Request Id: e3902560-3074-4d1e-b645-96fb0ca93300
Correlation Id: bf044236-ffa4-47a8-8f10-901bfab5b809
Timestamp: 2025-03-12T07:09:30.500Z
App name: Teams-Toolkit
App id: 7ea7c24c-b1f6-4a20-9d11-9ae12e9e7ac0
IP address: 2401:4900:1f3b:288c:f029:af76:d43b:68ef
Device identifier: c2f4825a-59d2-45b3-a7e8-34439a6df677
Device platform: Windows 10
Device state: Compliant
{"errorCode":"request_cannot_be_made","errorMessage":"Token request cannot be made without authorization code or refresh token.","subError":"","name":"ClientAuthError","correlationId":"b1cbc968-b2a4-47e0-9ebd-1ca3783cf100"} "
In VSCODE I get the below error-
[Error] - Unable to execute action aadApp/create. Error message: Login took too long. Please try again. [Error] - Failed to Execute lifecycle provision due to failed action: aadApp/create. LoginTimeout:Login took too long. Please try again.. Env output: {}
Summary: (×) Error: Lifecycle stage provision failed. (×) Error: aadApp/create failed. (×) Error: Login took too long. Please try again.
To Reproduce
Steps to reproduce the behavior:
- Go to- vs code, Install Teams toolkit from extension
- Once installed select the Teams Toolkit icon on the left in the VS Code toolbar, and click on create a new app, select tab after this select React-Fluent-UI then apps name
- Press F5 to start debugging which launches your app in Teams using a web browser. Select
Debug in Teams (Edge)
orDebug in Teams (Chrome)
. - Prompts to sign in microsoft 365 account
- Get the error
Expected behavior
When Teams launches in the browser
Screenshots
VS Code Extension Information (please complete the following information):
- OS: Windows
- latest
CLI Information (please complete the following information):
- OS: Windows
- latest