Forum Discussion
karamem0
Feb 02, 2022Brass Contributor
"Manifest parsing has failed." in Developer Portal
I am using the Developer Portal app in Teams.
I got "Manifest parsing has failed." error when click "Preview in Teams" button.
Also I got "App does not have the required permissions for this operation." error after click "x" button.
I have no validation error in the manifest file.
How can I fix it?
- karamem0-We are able to repro that issue , We have raised bug for the same and concerned team is looking into it. We will inform you once we get any update.
- Sayali-MSFT
Microsoft
karamem0 - Can you please share your manifest JSON or zip package, so that we can try it from our end.
- karamem0Brass Contributor
Thank you for replying.
This is the manifest file (And I attached the app package zip file).
I want to add a personal tab for the app. The tab URL is sample. Any other URLs causes the same issue.
{ "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json", "version": "1.0.0", "manifestVersion": "1.12", "id": "945a7eaf-60e2-4a17-9488-552215189da5", "packageName": "com.package.name", "name": { "short": "SampleApp", "full": "SampleApp" }, "developer": { "name": "karamem0", "mpnId": "", "websiteUrl": "https://github.com/karamem0", "privacyUrl": "https://github.com/karamem0", "termsOfUseUrl": "https://github.com/karamem0" }, "description": { "short": "SampleApp short description", "full": "SampleApp full description" }, "icons": { "outline": "outline.png", "color": "color.png" }, "accentColor": "#FFFFFF", "staticTabs": [ { "entityId": "3139441a-ef5c-475f-8779-6d50d57ca5dc", "name": "Home", "contentUrl": "https://github.com/karamem0", "websiteUrl": "https://github.com/karamem0", "scopes": [ "personal" ] }, { "entityId": "about", "scopes": [ "personal" ] } ], "validDomains": [ "github.com" ] }
- Sayali-MSFT
Microsoft
karamem0 - We are tried to repro the issue as per given manifest file. It's working fine for us.
Are you using developer account with admin rights?
Ref Doc:-Manage your apps with the Developer Portal - Teams | Microsoft Docs
- __jacoCopper Contributor
It has happened to me also. I'm following the tutorial from https://docs.microsoft.com/en-us/microsoftteams/platform/sbs-gs-nodejs?tutorial-step=3 and i have a trial developer account with admin rights.
When i want to see the manifest.json it does not appear in the "App package" right pane. If i try to "Preview in Teams" it shows the same error as stated above
- Sayali-MSFT
Microsoft
__jaco - We are unable to repro the issue. It's working fine for us. Could you just try to Download the app package. You get the app package (manifest.json) then just validate the manifest file in Teams => App Studio = > Validation.