Hi,
We have dynamics 365 portal developed using "xRM Portals Community Edition" which is working fine, however, the same code does not work for newly created dynamics 365 instances. The following error is thrown
An error occurred when processing the security tokens in the message:You are using Ws-Trust authentication which has been deprecated and no longer supported in your environment. Please use OAuth2.0 authentication.
We have changed the connection string to use OAuth as mentioned below but the problem perisit.
AuthType=OAuth; Username=jsmith; Password=passcode; Url=https://xxx.crm4.dynamics.com; AppId=51f81489-12ee-4a9e-aaae-a2591f45987d; RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97; TokenCacheStorePath=c:\MyTokenCache; LoginPrompt=Auto"
How to fix this?
regards
Venkatesh