Error when login apple enterprise account in VS2022 - xamarin

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:
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:
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:
So my question: What am I supposed to do? I need this access to work.
Thanks for your help.

Credits: Dongzhi Wang-MSFT
You must have to login with the account holder account from your organization. That worked for me.

Related

"App not found, Please verify..." when launching from Visual Studio, but installs normally from Developer Portal

I'm currently learning Teams development and I just installed the Teams Toolkit extension. Following the quickstart guide, launching the app opens my browser with the Teams web app and the message
App not found, Please verify the app and it's[sic] access
permissions.
Fortunately, this app can still be launched when selecting the "Preview in Teams" option in the Developer Portal.
Quoting the GettingStarted.txt:
If you Start Debugging in a browser and Teams shows the message "App not found, Please verify the app and it's access permissions", it means the app hasn't been uploaded to Teams Dev Portal. To resolve this, follow the steps in the Quick start section above. The Project > TeamsFx > Configure for SSO menu command will do this step for you.
Except it was successfully uploaded to Dev Portal.
What I did
Did this "Configure for SSO" thing. No problems with that and the app was successfully added to the Developer Portal.
Where I searched for an answer
VS Marketplace page for Teams Toolkit (Reviews, Q&A)
Github page (issues) for Teams Toolkit
This very site - Stack Overflow.
Obviously, I'm not 100% sure that I haven't missed anything.
Temporary solution
In the meantime, I set the "launchBrowser" property to "false" in launchSettings.json. However, it's a waste of time to constantly go back to the Developer Portal to launch it, especially when the functionality is there.
Visual Studio 2019, Microsoft Development Account.
Thanks in advance.
We tried to repro this issue at our end and it is working fine for us. Could you please make sure app is opened in same tenant with which you configured for SSO. Also please remove all credentials from cache to make sure its not taking another credentials and try again.
Assuming nothing else was changed from the new project template, there are a few things you can try to narrow down the issue.
Open your browsers web dev tools and watch the console after clicking the Add button (before you see the error message). Sometimes a useful error message from the developer portal helps identify the issue.
Verify that when Visual Studio launches the URL, the correct tenant is loaded in Teams.
Run the project in VS, then manually navigate in your browser to the endpoint of your tab that you expect to work. It would be something like https://localhost:44357/tab by default (the value is in the manifest.json). The sample won't work completely because it's not running inside Teams, but you should be able to verify it's working locally.
If none of that helps, please log an issue on the GitHub page and we can investigate a bug.

"Cannot connect to server" to Bot on iPad

I have posted this on Ask Different, and I thought it might fit here as well.
I have a Bot running for my app, with just a regular development account. I want to be able to download the Product that is created, but when I go to the Bot web page, I get an error "Cannot connect to ". I find this a little strange, because I can hit the server web page. Any ideas? Do you have to have an enterprise account to donwload the product?
The iPad has all the correct profiles etc.

Registration Tools Bug to Sign in

I have a problem with the "registration tools" on my Windows.
I launch Windows Phone 7 Solution for deploy a new version in my phone (Nokia Lumia 920), but I've reset him (with the amber update), and I have to re-register on my dev account...
No problem. I launch Registration tools , ans The "Suscribe" button appear (My Phone appear too on the Windows Folders...)
When I click on the subscribe button, the "Sign In "Windows appear, but remains empty... I don't want to set my login/password and validate for subscribe my phone...
I don't want to subscribe my phone on my developer account withmy laptop, ( I have already try with reboot Windows...) And I don't want to re-install all me developer environement...
The "registration Tools" has already worked on my Laptop, I have no ideas why it bug today.. (I have no install the Windows 8.1 preview version).
Do you have the same Problem?
And do You have an idea for re-install just the "registration tools"? or to subrscibe my phone on my dev account without this "registration tools"?
To Register with developer account, make sure that you have already installed Zune latest version.. and your device is getting connected properly.
Today, I re-start my computer and the developper tools works...
(I was aready restart my computer before ?!)
For people has a problem with the developer tools. I find this page (in a "Troubleshooting registration" part).
In this part, the most likely error, when the 'Login windows' is empty is this:
• Are both the computer and the phone connected to the Internet? On your computer,
make sure that your web browser does not have Work offline enabled. Also, you cannot
connect through a proxy server that redirects to a login page; for example, in a
hotel or an airport.

Windows Phone 7 Emulator Not able to connect to Windows Live ID

I'm trying to connect to Windows Live ID using the Live SDK from this site: http://msdn.microsoft.com/en-us/library/live/hh243641.aspx
When I run this code in my emulator, I get the Live SignIn Button. When I click on it, it tries to connect to Windows Live, but always ends up with
"We're unable to complete your request
Windows Live ID is experiencing technical difficulties. Please try again later."
And this happens all the time - does it need some permission or sth like that?
Ok, this happened because I gave a wrong ClientId in the XAML code for the signIn Button.
If you use a Sign In Button, you have to provide the ClientId property along with the ID you got.

deploying appication, device is developer locked

I have deployed apps before to my window phone, but today when i try to deploy my new app something go wrong
the zune is running my phone is unlocked, my windows live account is right, and when i enter the developer registration this is happening
so i spent a long time looking for solution, but i didn't find one. did anybody had the same problem? what can cause this?
The phone's registration automatically expires after 1 year, that's probably the problem your facing. Though I'm not sure why you can't re-register it directly using the registration tool.
To solve this issue:
Go on the Windows Phone Dev Center website and log-in
Go the devices management page (click on your live id in the top right corner, then on "Phones")
Search your phone in the list and click on "Remove"
Launch the Developer Phone Registration tool to re-register your phone

Resources