Forum Discussion
"Manifest parsing has failed." in Developer Portal
- Mar 08, 2022karamem0-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.
Same for me as well, regarding permissions. And this isn't a new app - it's one already side-loaded that we're trying to update. Thanks, Sayali-MSFT !
Sayali-MSFT - It's been a month since the last post so thought I'd post again to see if any progress has been made. I'm still unable to deploy an update to the app we have sideloaded for all of our users. I notice that the error message now contains a hyperlink that says, "Copy error details to clipboard." When I do so, here's the result:
Error while reading manifest.json: "manifestVersion" is required
Here's the error window, now with the hyperlink:
This is happening in https://dev.teams.microsoft.com/ after I click the "Preview in Teams" button.
- inversiondkAug 05, 2022Copper Contributor
Lukáš NešporDon't use the "Preview in Teams"-functionality. It's totally broken (at least it is for me).
1) Create your app manifest using the Developer Portal
2) Download the app as a zip-file:
3) Go to Apps -> Manage your apps -> Upload an app and select your newly created zip-file:
This is the only way I found to install and test my Teams app. Works every time though.
Hope it helps you out as well.
- Sayali-MSFTJun 13, 2022Microsoftm36five -Could please check the manifest zip in APP Studio ->Validation->Upload manifest package
and then check the exact error. - m36fiveJun 13, 2022Steel Contributor
Sayali-MSFT The error when I checked the manifest in App Studio was, "Package acceptance validation error: Package Loading Failure Provided add-in package was not understood. Please, make sure that the file being submitted is a valid Office add-in package." But when I downloaded the manifest in App Studio instead of https://dev.teams.microsoft.com/, I was able to test, run, and install it just fine. It's only the Developer Portal that won't allow a preview in Teams.
- Sayali-MSFTJun 14, 2022Microsoftm36five - We will provide the information to internal team. We will inform you once we get any update.
- inversiondkJul 07, 2022Copper Contributor
m36fiveAny news regarding this? I'm creating a Teams app and I'm experiencing the exact same issues
App and bot created directly through Developer Portal in Teams and user is Global Admin. Yet still I get the "Manifest parsing has failed." error along side the "App does not have the required permissions for this operation" message.
Steps to reproduce:
1) Create a new app in Developer Portal
2) Enter relevant information
3) Add a bot with a ngrok URL
4) Press the "Preview in Teams" button
All I want is a callback to my local URL to verify that the setup works - but I can't even get that far.
At the moment the whole Teams-app experience seems rather broken 😕 - m36fiveJul 07, 2022Steel Contributor
inversiondk - I haven't tried the Developer Portal since my post on June 13. I ended up using the App Studio app in Teams instead of the Developer Portal. Using the App Studio app, I was able to validate the change to my existing app, test my app in Teams, and publish the update. Then, in the Teams Admin center, I approved and pushed the update.
- inversiondkJul 07, 2022Copper Contributor
m36fiveThink I'll give that a try. But this might be short lived as App Studio is set to be retired 😕
But for now, I'll try giving it a go. Thanks.
- Lukáš NešporAug 05, 2022Copper Contributor
So, becase App Studio has been deprecated and does not work anymore, we have a problem. How to do development when there is no option to install/preview app because of the issue described here?
It does not work for new app created directly in the Developer portal.
- inversiondkAug 05, 2022Copper Contributor
Lukáš NešporYou can sideload your app as a zip-file in Teams by going to "Apps" -> "Manage Your Apps" and then clicking the "Upload an app"-button. This requires that you have the correct permissions in your organization.
For development I simply used a Microsoft Developer account as this gave me Global Admin rights.
If you create an app manifest file through the App Studio and download this as a zip-file, you should be able to use the app. It worked for me at least 🙂
- Lukáš NešporAug 05, 2022Copper ContributorI have Global Admin rights and I created new app directly in the Developer portal few minutes ago whith the same result.