🐞 TTK Errors when building Tab projects - dupe Entra ID app for every new project #12472
Labels
investigating
needs attention
This issue needs the attention of a contributor.
TA:Compute
Team Area: Compute
Describe the bug
The first run experience creating a new project using the Tab > React with Fluent UI (TypeScript) option fails every time the first time I run it.
The problem is the
teamaApp/create
task fails to create an Entra ID app because one already exists with the same ID. But... it's the first time I'm creating the app so it shouldn't. Easy to fix: clear out the values set in the ./env/.env.local and retry... this time it works.Click to view errors ❌ in the terminal window
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Initial build works without errors & launches the browser to install the tab.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
On thing that's strange... when the error happens, SOME of the values get set in the ./env/.env.local file, but not all... after the error, here's what I see:
Workaround: remove all those values, save the file, and retry building & deploying (Run & Debug > PLAY).
I thought there was a mistake in the template that had the values initially set as that's the behavior I see, but no... it's empty on new projects.
I confirmed the Entra ID app did NOT exist BEFORE I started debugging the project the first time, but after I see the error, the Entra ID app is present.
The text was updated successfully, but these errors were encountered: