You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
I have created a project using Teams tool kit and I did provisioning and deploy to the cloud too. After everything is working on my end, I pushed the code to Azure DevOps so that rest of the team can work on the same code.
One of the team members pulled the code into there system and failed to run the code. Below is the step where it is failed and the errors occurred:
[Teams Toolkit] Provisioning Azure AD app: [2/3] Create secret for Azure AD app (Notice: You can reload the window and retry if task spends too long time.)
[aad.AadCreateSecretError]: Failed to create an application secret in Azure Active Directory. Please refer to the log for detailed information.
Running the contributed command: 'fx-extension.pre-debug-check' failed.
Steps to reproduce the behavior:
Create a new project using MS Teams tool kit
Provisioning and Deploy to the cloud
Create a project in azure devops and publish your code.
Ask other team member to pull the code and to run the project (Note: the other team member already have Teams Tool kit extension installed)
When they run, you can see this Azure AD error.
Expected behavior
Now the person who created the project, only they can run the project locally for debugging. Looking for the steps/fix where anyone in the team who pull the code can able to run the project and debug locally.
VS Code Extension Information (please complete the following information):
OS: windows_NT x64
Version: VS Code 1.56.2
Additional context
[2021-06-04T14:40:21.926Z] [Info] - [Core] readConfigs() success! task:localDebug
[2021-06-04T14:40:21.932Z] [Info] - [AAD App Registration] Start to local debug
[2021-06-04T14:40:21.933Z] [Info] - [Simple Auth Plugin] Starting local-debug
[2021-06-04T14:40:21.939Z] [Info] - [AAD App Registration] Successfully parsed permissions.
[2021-06-04T14:40:21.941Z] [Info] - [Simple Auth Plugin] Successfully started local-debug
[2021-06-04T14:40:23.406Z] [Info] - [AAD App Registration] Successfully get Azure AD app.
[2021-06-04T14:41:18.535Z] [Error] - Failed to create an application secret in Azure Active Directory. Please refer to the log for detailed information.
[2021-06-04T14:41:18.535Z] [Error] - Detailed error: Request failed with status code 403. Reason: Insufficient privileges to complete the operation.
[2021-06-04T14:41:18.536Z] [Info] - [Solution] Execute Task summary---------------------------------
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-local-debug.localDebug.......................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-frontend-hosting.localDebug..................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-aad-app-for-teams.localDebug.................... [failed]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-simple-auth.localDebug.......................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - [Solution] Task overall result..............................[failed]
[2021-06-04T14:41:18.536Z] [Info] - [Core] run task localDebug finish, isOk: false!
The text was updated successfully, but these errors were encountered:
Hello @adashen, thank you for considering the issue and providing the steps to enable the flow. I will give it a try this week and will update if any issue occurs.
Hi @adashen. I followed the steps from the link you provided and other team members can able to run the project now. Thanks for the solution and closing the issue now.
Describe the bug:
I have created a project using Teams tool kit and I did provisioning and deploy to the cloud too. After everything is working on my end, I pushed the code to Azure DevOps so that rest of the team can work on the same code.
One of the team members pulled the code into there system and failed to run the code. Below is the step where it is failed and the errors occurred:
Steps to reproduce the behavior:
Expected behavior
Now the person who created the project, only they can run the project locally for debugging. Looking for the steps/fix where anyone in the team who pull the code can able to run the project and debug locally.
VS Code Extension Information (please complete the following information):
Additional context
[2021-06-04T14:40:21.926Z] [Info] - [Core] readConfigs() success! task:localDebug
[2021-06-04T14:40:21.932Z] [Info] - [AAD App Registration] Start to local debug
[2021-06-04T14:40:21.933Z] [Info] - [Simple Auth Plugin] Starting local-debug
[2021-06-04T14:40:21.939Z] [Info] - [AAD App Registration] Successfully parsed permissions.
[2021-06-04T14:40:21.941Z] [Info] - [Simple Auth Plugin] Successfully started local-debug
[2021-06-04T14:40:23.406Z] [Info] - [AAD App Registration] Successfully get Azure AD app.
[2021-06-04T14:41:18.535Z] [Error] - Failed to create an application secret in Azure Active Directory. Please refer to the log for detailed information.
[2021-06-04T14:41:18.535Z] [Error] - Detailed error: Request failed with status code 403. Reason: Insufficient privileges to complete the operation.
[2021-06-04T14:41:18.536Z] [Info] - [Solution] Execute Task summary---------------------------------
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-local-debug.localDebug.......................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-frontend-hosting.localDebug..................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-aad-app-for-teams.localDebug.................... [failed]
[2021-06-04T14:41:18.536Z] [Info] - fx-resource-simple-auth.localDebug.......................... [ok]
[2021-06-04T14:41:18.536Z] [Info] - [Solution] Task overall result..............................[failed]
[2021-06-04T14:41:18.536Z] [Info] - [Core] run task localDebug finish, isOk: false!
The text was updated successfully, but these errors were encountered: