Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Do CRM Administration using Azure API

(0) ShareShare
ReportReport
Posted on by 5

Hi All, 

I am wondering if I can use Azure App Service Service Principal to do Admin activity?

Connect-CrmOnline -Credential $cred or 

Get-CrmInstance -ApiUrl "admin.services.crm5.dynamics.com" -Credential $cred

The above PSLets use the federated account and not Azure Creds from Service principal. I guess there are no arguments to take this. 

docs.microsoft.com/.../get-crmconnection

If anyone has found any possibility for this pls let me know. 

Cheers, Sethi

Categories:

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans