{"action":"created","issue":{"url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/46","repository_url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection","labels_url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/46/comments","events_url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/46/events","html_url":"https://github.com/MscrmTools/MscrmTools.Xrm.Connection/issues/46","id":302157573,"number":46,"title":"Connecting with Two Factor Authentication","user":{"login":"edddduuuu","id":30424815,"avatar_url":"https://avatars0.githubusercontent.com/u/30424815?v=4","gravatar_id":"","url":"https://api.github.com/users/edddduuuu","html_url":"https://github.com/edddduuuu","followers_url":"https://api.github.com/users/edddduuuu/followers","following_url":"https://api.github.com/users/edddduuuu/following{/other_user}","gists_url":"https://api.github.com/users/edddduuuu/gists{/gist_id}","starred_url":"https://api.github.com/users/edddduuuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edddduuuu/subscriptions","organizations_url":"https://api.github.com/users/edddduuuu/orgs","repos_url":"https://api.github.com/users/edddduuuu/repos","events_url":"https://api.github.com/users/edddduuuu/events{/privacy}","received_events_url":"https://api.github.com/users/edddduuuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-05T03:05:22Z","updated_at":"2018-03-07T01:59:59Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nSince the update on CRM environment with Two Factor Authentication, connecting using XrmToolBox shows \"Authentication Failure\".\r\n![image](https://user-images.githubusercontent.com/30424815/36955613-7ba728d2-2064-11e8-9684-c668b6f7bf6e.png)\r\n\r\nI tried connecting using Connection String but i think i have incorrect format i got from another [thread](https://github.com/MscrmTools/MscrmTools.Xrm.Connection/issues/43).\r\nAuthType=OAuth;Username=your_office365_address; Password=the_password;Url=https://organization.crm.dynamics.com;AppId={the id of an app you created in Azure AD that has authorization against CRM Online} ;RedirectUri=http://whatever.com;TokenCacheStorePath=c:\\Temp\\OauthCache.bin;LoginPrompt=Auto\r\n\r\nAny update regarding this issue? I appreaciate feedbacks from those who can connect using XrmToolbox. :)\r\n\r\nRegards,\r\nEdu"},"comment":{"url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/comments/370995996","html_url":"https://github.com/MscrmTools/MscrmTools.Xrm.Connection/issues/46#issuecomment-370995996","issue_url":"https://api.github.com/repos/MscrmTools/MscrmTools.Xrm.Connection/issues/46","id":370995996,"user":{"login":"paulobriennz","id":19361762,"avatar_url":"https://avatars2.githubusercontent.com/u/19361762?v=4","gravatar_id":"","url":"https://api.github.com/users/paulobriennz","html_url":"https://github.com/paulobriennz","followers_url":"https://api.github.com/users/paulobriennz/followers","following_url":"https://api.github.com/users/paulobriennz/following{/other_user}","gists_url":"https://api.github.com/users/paulobriennz/gists{/gist_id}","starred_url":"https://api.github.com/users/paulobriennz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulobriennz/subscriptions","organizations_url":"https://api.github.com/users/paulobriennz/orgs","repos_url":"https://api.github.com/users/paulobriennz/repos","events_url":"https://api.github.com/users/paulobriennz/events{/privacy}","received_events_url":"https://api.github.com/users/paulobriennz/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T01:59:59Z","updated_at":"2018-03-07T01:59:59Z","author_association":"NONE","body":"Now I have a question :) exactly the same situation but with CRM On-Premise (IFD) and ADFS/MFA.\r\nI can't for the life of me figure out the Connection String format to use for On-Prem MFA with ADFS.  I've gone into ADFS and i think i'm meant to 'register' an application, although i'm not sure as i can't find any guide on this.  \r\nI ran this command:\r\nAdd-AdfsClient -ClientId 12171175-f604-48a4-a13a-211a82b8ddcd -Name XrmToolbox -RedirectUri http://localhost/\r\n\r\nif i do a Get-AdfsClient - i see a result.. \r\n\r\nDoes anyone have a definitive guide on how to connect to XrmToolbox (or any application using the CRM Tooling / Connection String) with On-Prem IFD CRM using ADFS/On-Prem MFA?  I've asked on stackoverflow and dynamics crm forums and no response..."}}
{"actor":{"display_login":"paulobriennz"}}