Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppStore Connect two factor auth with trusted phone number is not possible #996

Closed
evorotnikov opened this issue Sep 6, 2019 · 86 comments
Closed
Assignees
Labels
feature request New feature request reviewed-DRI Reviewed by DRI stores Related to publishing to Stores from App Center service

Comments

@evorotnikov
Copy link

As part of distribution of iOs build there is a possibility to deploy it directly to AppStore/TestFlight vis store connection.

Currently while creating new connection for AppStore Connect i can't use trusted phone number and i don't have ios device with linked Apple Id, so there are no way to create a store connection.

It will be great to be able use trusted phone number and got two factor auth via sms or phone call.

@evorotnikov evorotnikov added the feature request New feature request label Sep 6, 2019
@blparr
Copy link
Contributor

blparr commented Sep 6, 2019

Hi @evorotnikov - thanks for your feedback! We'll take that into consideration for future prioritization.

@Oddj0b Oddj0b added the stores Related to publishing to Stores from App Center service label Sep 9, 2019
@Oddj0b
Copy link
Contributor

Oddj0b commented Sep 9, 2019

@evorotnikov Are you talking about support for 2-step verification instead of 2-factor authentication?

@dipree dipree added the response required More information is needed to keep the issue open label Sep 10, 2019
@evorotnikov
Copy link
Author

@Oddj0b not really in my understanding, it's still 2-factor, but apple originally provide several options how to get a second factor:

  • Default is via Apple codes (okta like) when you have a trusted device
  • Alternative is by sending sms or calling trusted phone number (in case you don't have trusted ios device)

So second case is not covered in appcenter in my opinion.

Attaching what i see while logging in into developer.apple.com:

Screen Shot 2019-09-10 at 10 12 35 AM

Screen Shot 2019-09-10 at 10 12 29 AM

@no-response no-response bot removed the response required More information is needed to keep the issue open label Sep 10, 2019
@Oddj0b
Copy link
Contributor

Oddj0b commented Oct 15, 2019

@evorotnikov thanks for clarifying, I wasn't aware that Apple offered a service like this. I'll talk with our engineers to understand how hard it would be to implement. We normally prioritize Github tickets by reaction and if this receives enough 👍 there's a bigger chance it will be implemented.

@evorotnikov
Copy link
Author

@Oddj0b sure, thanks for replying to this one. I hope it will eventually be in.

@ajaykn
Copy link

ajaykn commented Oct 29, 2019

@evorotnikov
Apple by default sends 2FA codes to your trusted phone number if you have no devices linked.
Please check once https://appleid.apple.com/account/manage

image

And you should be able to create a store connection in AppCenter with the codes you receive to your phone number as you mentioned that your account has no devices linked.
We hope you are not blocked currently.

But yeah option where we explicitly wants to receive the code to the phone instead of devices is not available in AppCenter.

@bramski
Copy link

bramski commented Apr 14, 2020

I can't use my SMS code to connect the apple account. This is very frustrating as my iPhone died. The code won't go to my macbook and I'm stuck unable to upload our production build.

@ajaykn
Copy link

ajaykn commented Apr 14, 2020

Hi @bramski
If I understand correctly, you are not receiving codes to your MacBook.
Can you check if your MacBook is listed under trusted devices here

@bramski
Copy link

bramski commented Apr 14, 2020

It's tied to a dead iphone and since that's unavailable i'm getting them by SMS. My Macbook is a trusted device.

@bramski
Copy link

bramski commented Apr 14, 2020

I searched through why my macbook isn't receiving them; apple prefers to send to your mobile device and if that's unavailable it will send to your SMS. So I'm stuck unable to upload my builds until I can revive the iPhone.

@ajaykn
Copy link

ajaykn commented Apr 14, 2020

Oh thats strange why your MacBook is not receiving the 2fa codes.
Notifications are hidden, if you have DnD mode ON, if so please turn it off and give a try.
image

@rzane
Copy link

rzane commented May 6, 2020

This is also happening to me.

  • My MacBook is listed under "Devices" for my Apple ID.
  • I'm receiving a text message, but if I enter the code, I get an error saying "Two-Factor Authentication via SMS is currently not supported".

Turns out that I was signed into a different Apple ID on my MacBook. Once I switched accounts, I got the message.

@Oddj0b
Copy link
Contributor

Oddj0b commented May 11, 2020

It sounds like you have a trusted phone number and not a trusted device: https://support.apple.com/en-us/HT204915

@Oddj0b Oddj0b removed their assignment Jul 9, 2020
@ptrkstr
Copy link

ptrkstr commented Aug 3, 2020

Is there any movement on this? Noticed the error message states that I can't use text messages.
image

@maciejtrybilo
Copy link

maciejtrybilo commented Aug 18, 2020

I'm in a bit of a bind with this one. We use managed Apple IDs in the company and Apple has disabled the "trusted devices" 2FA for managed Apple IDs and I can only receive the code via SMS. But, as the screenshot above shows, App Center doesn't support 2FA via SMS codes.

I would be very grateful if you could add support for SMS codes as I'm unable to set up TestFlight distribution in App Center at all at the moment.

@astk
Copy link

astk commented Oct 28, 2020

I'm also stuck at this stage. Right now can't connect App Store because I don't have trusted device and there's no option to request to use trusted phone number added.

@tiagopiresxpand
Copy link

I'm in a bit of a bind with this one. We use managed Apple IDs in the company and Apple has disabled the "trusted devices" 2FA for managed Apple IDs and I can only receive the code via SMS. But, as the screenshot above shows, App Center doesn't support 2FA via SMS codes.

I would be very grateful if you could add support for SMS codes as I'm unable to set up TestFlight distribution in App Center at all at the moment.

@maciejtrybilo Do you have managed Apple IDs with federation enabled?

@lourencogui
Copy link

I'm facing the same issue

@KAnderson
Copy link

I have the same issue, it was working and I am unable to reconnect. I have multiple macbook pro's listed as devices but neither receive the code, it only comes via SMS

@dimayurkovski
Copy link

Same issue. SMS code come to phone but error message is
"The verification code entered is invalid. Make sure your trusted device is logged to iCloud. Two-Factor Authentication via SMS is currently not supported. Enter the valid pop-up two-factor code from your trusted device."

@erdenemunkh
Copy link

Same issue. I am received SMS code. But verification failed. Stil error message.

@amie-wilt
Copy link

Same issue.

I'm using a separate Apple ID for development purposes (dev@...) instead of my personal Apple ID. From what I gather, I'd need to sign out of my iPhone with my personal Apple ID and sign in with the developer Apple ID so that my device could be recognized. However, that's a little cumbersome to have to do. Seems like the SMS code should suffice.

@SirCameron
Copy link

@amie-wilt .... that's sad.. but this is a compatibility issue - if that's what they're focusing on.

@adammcarth
Copy link

Story suggestion:

As a normal human being, I don't want to sign out of the personal Apple ID on my iPhone in order to sign in with a company issued Apple ID (thereinafter disabling iMessage and risking my personal photos and messages being uploaded), just to receive one 2FA code to distribute an app update at 5:00pm on a Friday night.

@amie-wilt
Copy link

@adammcarth not ideal but did you try this? #996 (comment)

@tomassvatek
Copy link

Story suggestion:

As a normal human being, I don't want to sign out of the personal Apple ID on my iPhone in order to sign in with a company issued Apple ID (thereinafter disabling iMessage and risking my personal photos and messages being uploaded), just to receive one 2FA code to distribute an app update at 5:00pm on a Friday night.

I agree. This is must-have feature!

@caphun
Copy link

caphun commented Apr 6, 2022

Come on devs, this issue has been opened for 2+ years! It is clear by now that this is a must have feature, as it's causing the community so much pain. I am close to moving away from App Center due to this issue. The fact that we have to deal with it on an ongoing basis as the App Store connection requires a re-connect every few months just adds insult to injury! I hope you can hear my frustration though text as I nearly missed a deployment deadline today due to this very issue. Please bump this one to the highest priority level. please!

@rodrigo-at-hypergiant
Copy link

I am also impacted by this must-have feature. Right now if you don't have an iOS phone linked to the Apple ID you use to manage App Center, you cannot add iOS testers. There's no justification for this.

@taylormoyle
Copy link

taylormoyle commented Apr 29, 2022

I am experiencing a blocker here as well.

When I enter the 6-digit code sent to my iPhone 12 Pro Max listed as a Trusted Phone Number, I get the same error as stated above. I've tried the aforementioned fixes and various other things found on the web, such as going into AppleId settings and generating a 2-step verification code and trying to use that for the 6-digit prompt.

The issue may be with my AppleId account not showing any Trusted Devices, only Trusted Phone Numbers.

Side note: When I try to Reauthenticate on certain AppCenter releases/stores tab, I get prompted with a greyed out email of the employee who created the account, who is no longer here and an error message stating You don't have access to update this connection. (related: #841)

Have been wrestling with this for the better part of a day, any leads would be appreciated.

@nissaba
Copy link

nissaba commented Jun 13, 2022

This is important. people will just drop app center for this with out opening a ticket or supporting this one. 90% of people just will quit without saying a word. You need to see the number of people here and multiply it by 100 if not 1000.

@EenPOOL
Copy link

EenPOOL commented Jun 16, 2022

One of the top 10 commented (open) issues... and there is still no response from devs.
Each time again and again I bump into the same issue... I could create an app-specific password and everything... but it expires each time after a while...

The most funny thing is that I receive an sms with the verification code.. but I cannot use it...

Please give us at least some timeline when it will be fixed :)

@froston
Copy link

froston commented Jun 24, 2022

Same issue. Maybe related to wrong location used in the verification of Apple ID?

@LeoJHarris
Copy link

LeoJHarris commented Jul 10, 2022

I was having issues with the SMS as well and this might be helpful for others but on my mac I did the following

System Preferences => Apple ID

You will see the below screen then click "Get a verification Code" then copy the code into appcenter to complete the authentication. I use this method as work around to authenticate from a trusted device and it works.

222

@ohernang
Copy link

Same problem here, nothing new to add.

image

@00elan
Copy link

00elan commented Sep 6, 2022

image

Same issue,,,

@sonhd92
Copy link

sonhd92 commented Oct 19, 2022

bump it up. Still got this issue

@EmilAlipiev
Copy link

@LeoJHarris Others having problem here "NOT HAVING ANY DEVICE" associated because AppleId i use and others use is ONLY for Development purpose. We have main apple ID we use for our personal devices and we dont want to add any corporate Apple ID which is only for development. When MS developers sees such "workaround", they don't act.
Lets understand, THERE IS NO SOLUTION or WORKAROUND for this UNLESS APPCENTER DEVELOPERS ACTS!

IMHO, Microsoft doesn't care with appcenter and they will retire this product soon or later as many others they did. Only solution here is using Azure Devos directly,

@darpsoft
Copy link

I did the following

1 I created an account exclusively for iOS deploy
2 I associated a phone number to the account to receive the 2FA code
3 With that account I started on a physical device (In my case) a Macbook
4 The account created was the one I used for AppCenter
5 When I went through the steps again, I got the authorization code to the Macbook

With this, I was able to connect to Appcenter with Apple.

@afranz33
Copy link

afranz33 commented Jan 4, 2023

I went through support within the App Center web site and I ended up removing my attached account then they sent me a URL(specific for me) and it took me to add an account from the distribute page not the account settings page. I entered my creds, got the 2FA code, entered and now back in business.

@ckapatch
Copy link

my issue is similar however I do have a physical device and the code sent to my device doesn't work, it'll give me this error each and every time:

image

@MalmoIt
Copy link

MalmoIt commented Feb 13, 2023

@amie-wilt solution worked perfectly for me.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

@microsoft-github-policy-service
Copy link
Contributor

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

@microsoft-github-policy-service
Copy link
Contributor

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

@snice1981
Copy link

Same problem here. Can you enable the SMS option like when you use Applie web site? Because not everyone has an Apple trusted device (IPhone, Mac, etc)

@henninghall
Copy link

Still an issue for us.

@ComplexVariable
Copy link

Still an issue. Why is this closed ?

@JCortes23
Copy link

Presento el mismo problema, algun@ ha tenido alguna solución?

@Bl0kkie
Copy link

Bl0kkie commented Mar 1, 2024

Still an issue! Maybe reopen this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request reviewed-DRI Reviewed by DRI stores Related to publishing to Stores from App Center service
Projects
None yet
Development

No branches or pull requests