question

zdenIrmak-5568 avatar image
0 Votes"
zdenIrmak-5568 asked JohnUreke-1520 commented

Two factor authentication through phone when an iOS device is connected to Visual Studio

Hi There,

When I connect my iPad to my Xamarin/Visual Studio setup, I get the verification dialog which asks me to enter 6 digit code from the trusted device. Currently that device is far away from me and I only have my phone which is saved as "trusted phone number" to my apple id. However, that dialog does not offer "send the code to phone as text" option which you can find on various Apple websites where you use two factor authentication. So my question is, is there any way to receive that code to my phone rather than trusted device?

Thanks,

Özden

vs-general
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @zdenIrmak-5568 , could you share me some related screenshots to check further?

0 Votes 0 ·

70229-capture.png




This is the screen I see when I connect iPad to my PC. There is no option to route the code to phone like Apple is providing on it's websites.

0 Votes 0 ·
capture.png (11.5 KiB)

When I get that, I click cancel and all works as it should.

0 Votes 0 ·
TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered TianyuSun-MSFT edited

Hi @zdenIrmak-5568 ,

Thank you for sharing me the screenshot.

I’m afraid this dialog window and related options cannot be changed and it, indeed, does not offer option like “send the code to phone as text”. Perhaps you can go to developer website of Apple and add the phone numbers which belongs to the phone that you can use to verify currently, to try again.

Besides, this issue should be more related to the settings from Apple, I also suggest you ask this question on Apple’s related websites, like https://developer.apple.com/support/.

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Tianyu,

Before writing in here, I contacted both Apple Developer Support and Apple Consumer Support sections where they told me that they cannot help me and I should contact with Microsoft. Also, my phone number is already added as trusted phone number into my Apple developer account.

It seems there is no solution for that.

Regards,

Özden

0 Votes 0 ·

Hello Özden, thanks for your feedback. I see, so both your phone and another device had been added as trusted phone number into your Apple developer account, but only the another device got the 6 digit verification right? Was your Apple account already logged in on your phone?

0 Votes 0 ·
masojus-9136 avatar image
0 Votes"
masojus-9136 answered JohnUreke-1520 commented

I see the same problem as @zdenIrmak-5568 . The Mac I build on is on a network and is the only trusted device, whereas the physical phone I use for testing is tied to another apple ID. When I log into Apple Dev Center/AppStore Connect/Apple ID online, I can send myself a text to a trusted phone number--then I don't have to remote into the networked Mac to authorize the login. Since Visual Studio doesn't provide the same option, it's a bit of a nuisance.

I could potentially sign out of my other Apple ID on this phone, and sign in with the Apple ID I'm using, but that's also a nuisance, and I'm not even sure how I'd make that a trusted device in this context. Would it send the code to all trusted devices or how would I go about picking one since that dialog is pretty limited and there isn't much on Apple's side for handling trusted devices either.

In general, though, if one doesn't have a trusted device on hand for whatever reason, one would expect to be given the option to use other methods, like SMS to a trusted phone number, the way Apple does for their services.

Thank you,
Justin

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I get that and just click cancel. Everything works fine.

0 Votes 0 ·
JohnUreke-1520 avatar image
0 Votes"
JohnUreke-1520 answered

I just click cancel and everything works.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.