microsoft / PackageUploader

This is a wrapper for game developers to use to upload into partner center via API's.
MIT License
32 stars 10 forks source link

No Permission labeled "Read/Write" in Azure AD Application settings in Partner Center #27

Open notthatwillsmith opened 2 years ago

notthatwillsmith commented 2 years ago

I believe that the instructions in your Readme.md need an update due to changes in Partner Center.

I followed the instructions to set up the Package Uploader script, and it's failing after the script runs with a 401 error. The packages (and supporting files) are successfully uploading to Partner Center though, so it's unclear exactly what's failing. The error message led me to believe that there's a permission issue with the Azure AD Application setup in Partner Center, so I recreated that user to check permissions. Unfortunately, it seems like the permission labels are changed in Partner Center, since there's no Read/Write label, as described in the Readme.md.

image

I've tried it with everything in the Publishing tab set to Read/Write, as well as a few of the sub options flipped to Read/Write (Packages, Store Submissions, and Properties), but I get the 401 error every time.

The error is below Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 You haven't correctly setup your application authentication. Ensure that you've added your application to the Azure AD Applications section with the appropriate access.

toekneeparkms commented 2 years ago

Hi notthatwillsmith,

Want to first apologize for the late reply - I never got notified about the issue you opened, so I didn't know you were sitting here waiting for answer. Really sorry about that :(.

In terms of the read/write - you are correct that the read/write isn't displayed in your screenshot, however if you navigate to the very top of the page there is a legend of what the options are and what they look like.

image

I hope this helps.

muZZkat commented 1 year ago

I'm having the same issue, i've tried every possible permission and I still get the 401 error. Any ideas?