Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Code with Client Id and Client Secret throws Error : User does not have license to use <Modern Project>

(1) ShareShare
ReportReport
Posted on by

I have this code which is working fine with user name and password 

   but if i try and put Client Id and Client Secret  while creating CRM Client  in below code.

 using (CrmServiceClient conn = new CrmServiceClient(oldConnectionString)) 

it throws an error.   User does not have license to use <Modern Project>

  • jacobsome Profile Picture
    on at
    Code with Client Id and Client Secret throws Error : User does not have license to use
    Has anyone got solution for this problem? I too have similar situation.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

Overall leaderboard

Product updates

Dynamics 365 release plans