web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to login using SDK in visual studio on Multi Factor Authentication Environment?

(0) ShareShare
ReportReport
Posted on by 160

* Development Enviorment
- ADFS 3.0
- IFD 
- Dynamics CRM Server 2015
- Using Software Development Kit
- Multi-Factor Authentication

I installed MFA service in ADFS 3.0. In the first page,  I have to input my ID/PW on the login form. If it can be succeed to login, then move to the next page. In the second page, I have to get a certification code(ex. 760982) from SMS service by input my mobile phone number in the form. And then, I can success to sign in the dynamics crm.

At this point, I have a question.

I also have to login using SDK in visual studio, but I was NOT able to login using the same ID/PW in SDK source.

I would like to get a solution. Is there any solution to pass for login in the SDK on MFA environment?

I use the visual studio 2013.

Thanks in advance.  

*This post is locked for comments

I have the same question (0)
  • Luke Sartain Profile Picture
    1,266 on at

    Hi Woo-Seok

    Did you ever find a solution to this?

  • David Jennaway Profile Picture
    14,065 on at

    You can use OAuth, which supports MFA - see https://msdn.microsoft.com/en-us/library/gg327838.aspx

  • Luke Sartain Profile Picture
    1,266 on at

    Hi David

    Thanks for your reply. Re-reading the original post perhaps I posted this in the wrong place. The issue I am having is being able to deploy solutions from within Visual Studio. Typically we have been able to use the Connect to CRM feature (shown below). However when entering credentials for a client who uses multi factor authentication we get an Authentication Failed alert.  

    ConnectToCRM.PNG

    My thanks once again for your reply.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans