0

I've been developing and deploying a custom web part on our SPO tenant for a while. Today, my co-worker tried to deploy a new version of the app.

He successfully uploaded to the app to https://tenant.sharepoint.com/sites/apps/AppCatalog/Forms/AllItems.aspx, and pressed the "Deploy" button that popped up - just like I always do.

But in the right most column on mentioned site (which I believe in English is named something like "Error from application package") he got a "distribution failed" error message (and a correlation ID).

I have no idea how to debug this, as I wouldn't know even where to find any logs. As this procedure works for me, I suspect it has something to do with access rights or something.

Does anyone here have an idea why this is happening, and how we can fix it?

PS. I originally posted this over at Microsoft's tech community, but didn't get any responses so I'm re-posting it here.

5
  • Check if your co-worker has site collection administrator permissions on app catalog site. – Ganesh Sanap Jun 10 at 5:20
  • Thanks, @GaneshSanap, he didn't have those permissions, so this was likely the issue. Haven't verified it yet though, but will do so soon. – kenneho Jun 10 at 16:14
  • Sure, let me know if it works for you after adding another user to site collection administrators. – Ganesh Sanap Jun 10 at 16:19
  • It was a permission issue. Another co-worker fixed the issue, and I'm not quite sure exactly which permission setting he had to tweak though. – kenneho Jun 21 at 5:43
  • Great, I will summarize our conversation in a answer below. Please Upvote(^) and accept as an Answer as it helped you. – Ganesh Sanap Jun 21 at 5:49
1

I suspect this is SharePoint site permissions related issue.

Try granting below permissions to your co-worker & it should work for you:

  1. Site collection Administrator permissions on app catalog site - Manage site admins
  2. SharePoint tenant administrator - Assign admin roles

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.