Closed Gawandevaishnavii closed 2 years ago
Hi @Gawandevaishnavii This connection method is deprecated and wont work in brand new environments. This will be phased out to exsiting environments as well.
This AuthType is deprecated and we recommend to use OAuth as the preferred authentication type. More information: Authenticate using Office365
You should switch to AuthType=OAuth and make note of the "note" box here: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/xrm-tooling/use-connection-strings-xrm-tooling-connect#connection-string-parameters
Hi @Gawandevaishnavii,
additional to @RobNightingale-LSL remarks, try to change the version of the build task to a newer one, if its on an old version.
@RobNightingale-LSL
Thank you for your assistance.
Its working fine now..
@RobNightingale-LSL thank you
AuthType=Office365;Url=https://orgname.crm7.dynamics.com;Username=userid;Password=password
While using AuthType=OAuth;Url=https://orgname.crm7.dynamics.com;Username=userid;Password=Password;AppId=726a46fb-55c6-4ad1-add8-xxxxxxxxxx;RedirectUri=https://org.com;client_secret=b3ecb3bf-305b-4a19-xxxx-xxxxxxxxxx;LoginPrompt=Never; also I am unable to login Dynamics CRM.