xamarinvisual-studio-2022mauiapple-developerapple-developer-enterprise

Error when login apple enterprise account in VS2022


I'm facing a really big problem. I develope in VS2022 with a .net Maui application on my Windows 10 Laptop. Now I want to debug on my local iOS devices via .net Maui hot restart (https://learn.microsoft.com/de-de/dotnet/maui/deployment/hot-restart?view=net-maui-7.0).

I have an enterprise account from my company which is declared as an app-manager: enter image description here

First I tried to add my enterprise account in Options>Xamarin>Apple Accounts. I just typed my user data in nothing else. I didn't downloaded any key or anything else. I tried to add it but I get the following error message: enter image description here

The first time I tried to add it, it wasn't the same. I got the window to enter my code which was send on my phone. But the progress was interrupt because of a bad internet connection.

I allready contaced the apple support about this but they said if I can login in App Store Connect its not their problem and I have to contact Microsoft about this. The problem: The VS support I found wasn't free...

Sometimes when I reopen the Apple Account window my Apple-Id gets listed and also as an enterprise account. The only problem there is no Team I can select and the View Details button is not selectable: enter image description here

So my question: What am I supposed to do? I need this access to work.

Thanks for your help.


Solution

  • Credits: Dongzhi Wang-MSFT

    You must have to login with the account holder account from your organization. That worked for me.