Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report: AppStudioPlugin.TeamsAppUpdateFailed #11935

Closed
masamori0083 opened this issue Jul 2, 2024 · 11 comments
Closed

bug report: AppStudioPlugin.TeamsAppUpdateFailed #11935

masamori0083 opened this issue Jul 2, 2024 · 11 comments
Assignees
Labels
investigating needs attention This issue needs the attention of a contributor. TA:E2E Team Area: E2E

Comments

@masamori0083
Copy link

Unable to update Teams app with ID 4407f4cf-3272-42fc-ac40-a5efc8769da8 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: 60037e5a-ad8c-4fab-859d-cb0e67573930. 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 912c4516-e818-4af0-bda4-53123f40d4bf, appDefinitionId 4407f4cf-3272-42fc-ac40-a5efc8769da8. Error message: Error while deleting assets from the blob storage for tenant id 912c4516-e818-4af0-bda4-53123f40d4bf, appDefinitionId 4407f4cf-3272-42fc-ac40-a5efc8769da8. Error message: This request is not authorized to perform this operation.\nRequestId:40d83e6c-c01e-0035-0b18-c7069e000000\nTime:2024-06-25T16:01:45.2578976Z\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:40d83e6c-c01e-0035-0b18-c7069e000000\nTime:2024-06-25T16:01:45.2578976Z\r\n\r\nHeaders:\r\nServer: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0\r\nx-ms-request-id: 40d83e6c-c01e-0035-0b18-c7069e000000\r\nx-ms-client-request-id: 66a35f4a-5c9d-40bd-919f-1b5ce9ce4cc1\r\nx-ms-version: 2024-05-04\r\nx-ms-error-code: AuthorizationFailure\r\nDate: Tue, 25 Jun 2024 16:01:44 GMT\r\nContent-Length: 246\r\nContent-Type: application/xml\r\n" Alternatively, you can skip this step by choosing the 'Debug in Test Tool' option.

stack:
TeamsAppUpdateFailed: Unable to update Teams app with ID 4407f4cf-3272-42fc-ac40-a5efc8769da8 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: 60037e5a-ad8c-4fab-859d-cb0e67573930. 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 912c4516-e818-4af0-bda4-53123f40d4bf, appDefinitionId 4407f4cf-3272-42fc-ac40-a5efc8769da8. Error message: Error while deleting assets from the blob storage for tenant id 912c4516-e818-4af0-bda4-53123f40d4bf, appDefinitionId 4407f4cf-3272-42fc-ac40-a5efc8769da8. Error message: This request is not authorized to perform this operation.\nRequestId:40d83e6c-c01e-0035-0b18-c7069e000000\nTime:2024-06-25T16:01:45.2578976Z\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:40d83e6c-c01e-0035-0b18-c7069e000000\nTime:2024-06-25T16:01:45.2578976Z\r\n\r\nHeaders:\r\nServer: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0\r\nx-ms-request-id: 40d83e6c-c01e-0035-0b18-c7069e000000\r\nx-ms-client-request-id: 66a35f4a-5c9d-40bd-919f-1b5ce9ce4cc1\r\nx-ms-version: 2024-05-04\r\nx-ms-error-code: AuthorizationFailure\r\nDate: Tue, 25 Jun 2024 16:01:44 GMT\r\nContent-Length: 246\r\nContent-Type: application/xml\r\n"
at Function.SystemError (<REDACTED: user-file-path>/extension.js:2:610777)
at ConfigureTeamsAppDriver.update (<REDACTED: user-file-path>/extension.js:2:562630)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at ConfigureTeamsAppDriver. (<REDACTED: user-file-path>/extension.js:2:492921)
at ConfigureTeamsAppDriver.execute (<REDACTED: user-file-path>/extension.js:2:560214)
at Lifecycle.executeImpl (<REDACTED: user-file-path>/extension.js:2:232111)
at Lifecycle.execute (<REDACTED: user-file-path>/extension.js:2:229268)
at Coordinator.provision (<REDACTED: user-file-path>/extension.js:2:272865)
at Coordinator. (<REDACTED: user-file-path>/extension.js:2:1045956)
at FxCore.provisionResources (<REDACTED: user-file-path>/extension.js:2:964918)
at FxCore.exports.EnvWriterMW (<REDACTED: user-file-path>/extension.js:2:871186)
at FxCore.exports.ContextInjectorMW (<REDACTED: user-file-path>/extension.js:2:1049708)
at FxCore.exports.ConcurrentLockerMW (<REDACTED: user-file-path>/extension.js:2:1048659)
at envLoaderMWImpl (<REDACTED: user-file-path>/extension.js:2:871066)
at FxCore. (<REDACTED: user-file-path>/extension.js:2:869964)
at FxCore.exports.ProjectMigratorMWV3 (<REDACTED: user-file-path>/extension.js:2:1080366)
at FxCore.exports.ErrorHandlerMW (<REDACTED: user-file-path>/extension.js:2:1050205)
at FxCore. (<REDACTED: user-file-path>/extension.js:2:1045956)

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Jul 2, 2024
@adashen adashen added investigating TA:E2E Team Area: E2E labels Jul 2, 2024
@anchenyi
Copy link
Contributor

anchenyi commented Jul 2, 2024

hi @masamori0083, this error comes from an internal dependency service. I have contacted the related team and will update here ASAP. Thanks.

@alexChiu127
Copy link

We encountered the same issue, please fix it as soon as possible.

@anchenyi
Copy link
Contributor

anchenyi commented Jul 2, 2024

hi @masamori0083, could you provide the app package you are using for further investigation?

@masamori0083
Copy link
Author

masamori0083 commented Jul 2, 2024

@anchenyi
Thanks for your reply, and I uploaded app package. Is it enough for you?
By the way, until yesterday, the other teams app template worked well, however, it doesn't suddenly today.
meeting-sum-card.zip

@anchenyi
Copy link
Contributor

anchenyi commented Jul 3, 2024

hi @masamori0083, I tried the zip package you provided, but I couldn't reproduce the error, and the "provision" succeeded. Could you try again to see if the error still exists? Thanks.

@adashen adashen added needs more info Need user to provide more info and removed needs attention This issue needs the attention of a contributor. labels Jul 3, 2024
@anchenyi
Copy link
Contributor

anchenyi commented Jul 3, 2024

Update: The issue with our dependency service has been fixed. Please retry. Sorry for the inconvenience.

@masamori0083
Copy link
Author

@anchenyi
Thanks for your cooperation!
I could deploy it in local env.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs attention This issue needs the attention of a contributor. and removed needs more info Need user to provide more info labels Jul 3, 2024
@MuyangAmigo MuyangAmigo removed the needs attention This issue needs the attention of a contributor. label Jul 4, 2024
@greigs
Copy link

greigs commented Jul 28, 2024

@anchenyi is the same problem happening again? See the most recent issues.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Jul 28, 2024
@anchenyi
Copy link
Contributor

hi @greigs, the recent issues were due to a different reason, and they have been resolved. Sorry for the inconvenience.

@anandrathnas
Copy link

#12403 still an issue

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Sep 17, 2024
@jayzhang
Copy link
Member

The issue of #12403 seems to have different cause from what of this issue. We will keep tracking it in the new issue #12403.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating needs attention This issue needs the attention of a contributor. TA:E2E Team Area: E2E
Projects
None yet
Development

No branches or pull requests

8 participants