Answers for "connect .net MVC application with dynamic 365 CRM using OAuth type connection string"

0

connect .net MVC application with dynamic 365 CRM using OAuth type connection string

open web.config/app.config
go to configuration > connection string then add following connection string
in you c# code use configuration manager to access the connection string 

<add name="MyCRMServer"
 connectionString="
  AuthType=OAuth;
  Username=jsmith;
  Password=passcode;
  Url=https://contoso:8080/Test;
  AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;
  RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;
  TokenCacheStorePath=c:\MyTokenCache;	//this line is optional
  LoginPrompt=Auto"/>
Posted by: Guest on September-01-2021

Code answers related to "connect .net MVC application with dynamic 365 CRM using OAuth type connection string"

Browse Popular Code Answers by Language