OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
435 stars 171 forks source link

bug report: AppStudioPlugin.TeamsAppUpdateFailed #11942

Open phamduyphuong251 opened 1 week ago

phamduyphuong251 commented 1 week ago

Unable to update Teams app with ID 21ec609d-3444-414b-a692-6b3ae14f277e in Teams Developer Portal due to Unable to make API call to Developer Portal: AxiosError, Request failed with status code 422, API name: create-app, X-Correlation-ID: 673a0027-be25-4fd4-9dfc-44210eb94c90. This may be due to a temporary service error. Try again after a few minutes. data: "Error while updating assets to the blob storage for tenant id c5ec5abe-76c1-46cb-b3fe-c3b0071ffdb3, appDefinitionId 21ec609d-3444-414b-a692-6b3ae14f277e. Error message: Error while deleting assets from the blob storage for tenant id c5ec5abe-76c1-46cb-b3fe-c3b0071ffdb3, appDefinitionId 21ec609d-3444-414b-a692-6b3ae14f277e. Error message: This request is not authorized to perform this operation.\nRequestId:6e67956f-701e-0063-7812-c7eeee000000\nTime:2024-06-25T15:13:59.3980986Z\r\nStatus: 403 (This request is not authorized to perform this operation.)\r\nErrorCode: AuthorizationFailure\r\n\r\nContent:\r\n<%3Fxml version=\"1.0\" encoding=\"utf-8\"%3F>AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:6e67956f-701e-0063-7812-c7eeee000000\nTime:2024-06-25T15:13:59.3980986Z\r\n\r\nHeaders:\r\nServer: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0\r\nx-ms-request-id: 6e67956f-701e-0063-7812-c7eeee000000\r\nx-ms-client-request-id: d303d020-01e0-4a74-82c8-e08b6b1b4ade\r\nx-ms-version: 2024-05-04\r\nx-ms-error-code: AuthorizationFailure\r\nDate: Tue, 25 Jun 2024 15:13:58 GMT\r\nContent-Length: 246\r\nContent-Type: application/xml\r\n"

stack: TeamsAppUpdateFailed: Unable to update Teams app with ID 21ec609d-3444-414b-a692-6b3ae14f277e in Teams Developer Portal due to Unable to make API call to Developer Portal: AxiosError, Request failed with status code 422, API name: create-app, X-Correlation-ID: 673a0027-be25-4fd4-9dfc-44210eb94c90. This may be due to a temporary service error. Try again after a few minutes. data: "Error while updating assets to the blob storage for tenant id c5ec5abe-76c1-46cb-b3fe-c3b0071ffdb3, appDefinitionId 21ec609d-3444-414b-a692-6b3ae14f277e. Error message: Error while deleting assets from the blob storage for tenant id c5ec5abe-76c1-46cb-b3fe-c3b0071ffdb3, appDefinitionId 21ec609d-3444-414b-a692-6b3ae14f277e. Error message: This request is not authorized to perform this operation.\nRequestId:6e67956f-701e-0063-7812-c7eeee000000\nTime:2024-06-25T15:13:59.3980986Z\r\nStatus: 403 (This request is not authorized to perform this operation.)\r\nErrorCode: AuthorizationFailure\r\n\r\nContent:\r\n<%3Fxml version=\"1.0\" encoding=\"utf-8\"%3F>AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:6e67956f-701e-0063-7812-c7eeee000000\nTime:2024-06-25T15:13:59.3980986Z\r\n\r\nHeaders:\r\nServer: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0\r\nx-ms-request-id: 6e67956f-701e-0063-7812-c7eeee000000\r\nx-ms-client-request-id: d303d020-01e0-4a74-82c8-e08b6b1b4ade\r\nx-ms-version: 2024-05-04\r\nx-ms-error-code: AuthorizationFailure\r\nDate: Tue, 25 Jun 2024 15:13:58 GMT\r\nContent-Length: 246\r\nContent-Type: application/xml\r\n" at Function.SystemError (/extension.js:2:610777) at ConfigureTeamsAppDriver.update (/extension.js:2:562630) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ConfigureTeamsAppDriver. (/extension.js:2:492921) at ConfigureTeamsAppDriver.execute (/extension.js:2:560214) at Lifecycle.executeImpl (/extension.js:2:232111) at Lifecycle.execute (/extension.js:2:229268) at Coordinator.provision (/extension.js:2:272865) at Coordinator. (/extension.js:2:1045956) at FxCore.provisionResources (/extension.js:2:964918) at FxCore.exports.EnvWriterMW (/extension.js:2:871186) at FxCore.exports.ContextInjectorMW (/extension.js:2:1049708) at FxCore.exports.ConcurrentLockerMW (/extension.js:2:1048659) at envLoaderMWImpl (/extension.js:2:871066) at FxCore. (/extension.js:2:869964) at FxCore.exports.ProjectMigratorMWV3 (/extension.js:2:1080366) at FxCore.exports.ErrorHandlerMW (/extension.js:2:1050205) at FxCore. (/extension.js:2:1045956)

microsoft-github-policy-service[bot] commented 1 week ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

anchenyi commented 1 week ago

This issue is duplicated with issue 11935. I will update there once it's resolved. Sorry for the inconvenience.