Connecting to Dynamics CRM with ClientSecret

Stuart - Across the Pond 1 Reputation point
2021-06-10T14:53:05.04+00:00

I've tried multiple times to connect my webservice to our CRM but nothing is working.
I'm using CrmServiceClient with the following conn string.

<add name="CRMLIVE" connectionString = "AuthType=ClientSecret; url=https://*****.crm4.dynamics.com; ClientId=09fa9e81-*******; ClientSecret=7-V_IoG~.*******"/>

I've set up an Azure app and created a user for it with System Admin permissions.
Connections fail in both the web app and a console app.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-06-10T14:54:38.523+00:00

    The product group for Dynamics actively monitors questions over at
    https://community.dynamics.com/crm

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.