Unable to upload a custom app in teams

Ivan Maria 86 Reputation points
2022-04-11T08:17:56.623+00:00

I am unable to upload a custom app in teams via teams admin portal. I am getting the following error:

Mgmt.AppCatalog.LOBApp.Upload.BadRequest.UnknownTeamsAppManifestExceptionType

Refer the following screenshot:
191814-image.png

Following is the error that I see in the developer console:

{"error":{"code":"BadRequest","message":"Failed to execute AMS backend request CreateDocumentRequest. Workload Unknown. Request Url: https://in-api.asm.skype.com/v1/objects, Request Method: POST, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=31536000; includeSubDomains\r\nServer: Microsoft-IIS/10.0\r\nDate: Mon, 11 Apr 2022 08:04:23 GMT\r\n, Reason Phrase: Bad Request","innerError":{"message":"Failed to execute AMS backend request CreateDocumentRequest. Workload Unknown. Request Url: https://in-api.asm.skype.com/v1/objects, Request Method: POST, Response Status Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=31536000; includeSubDomains\r\nServer: Microsoft-IIS/10.0\r\nDate: Mon, 11 Apr 2022 08:04:23 GMT\r\n, Reason Phrase: Bad Request","code":"UnknownTeamsAppManifestExceptionType","innerError":{},"date":"2022-04-11T08:04:24","request-id":"a6acb230-a61a-42d0-8b61-78c705692499","client-request-id":"a6acb230-a61a-42d0-8b61-78c705692499"}}}

I have been able to reproduce this issue on multiple tenant. Moreover the issue seems to be intermittent as the manifest gets uploaded successfully sometime.

Is something changed on the microsoft server that is causing this issue? If not, is there something that I need to change in the manifest to make it work.

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} vote

Answer accepted by question author
  1. Prasad-MSFT 10,186 Reputation points Microsoft External Staff Moderator
    2022-04-11T11:54:50.613+00:00

    We are able to repro this issue. We have raised a bug for it. We will inform you once we have any update.
    191924-image.png

    Update:
    The issue seems to be resolved now. Please check and confirm.

    Thanks,

    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Miguelangel Fernandez 1 Reputation point
    2022-04-11T13:18:45.48+00:00

    We're facing the exact same problem. I've also found several others have reported the same problem in another thread here (https://techcommunity.microsoft.com/t5/teams-developer/mgmt-appcatalog-lobapp-upload-badrequest/m-p/3281115). This was raised yesterday (2022-04-10).
    I've found that an old manifest file generated by the Teams SDK for VS Code, does upload without issues.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.