question

MathiasKlemt-2198 avatar image
0 Votes"
MathiasKlemt-2198 asked AnshulKumarMINDTREELIMITED-5501 published

How can I identify PIM service principles - which have only a string as Member Name?

Hi Team,

I have question regarding PIM.

In our Azure PIM > Management Group > Assigment-Overview configuration, I can find some active (direct) assignments in the list, which point to some Service Principles. So far so good, but some entries point to Service Principles without a "Member Name". As member name i can only see a sting. If I open the SP, find also only a string in "Member email" section.

How can I identify this service principles and check, if this SP is still active? 112070-greenshot-2021-07-06-12-23-54-window.png112080-greenshot-2021-07-06-12-22-54-window.png

Thanks
Mathias


azure-ad-privileged-identity-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered JamesTran-MSFT commented

@MathiasKlemt-2198
Thank you for your post!

I wasn't able to replicate what you're seeing, but when it comes to checking what these Service Principals are, and to see if you're still actively using them, you can do this through the Azure Portal or PS.

Azure Portal:
1- Copy the Principal Name or Member Email (Application ID) into a notepad
2- Navigate to Azure Active Directory -> Enterprise Applications -> Select All Applications -> Search for the Principal Name (Application ID)
112228-findprincipal.gif


AzureAD PowerShell: Using the AzureAD modules for PowerShell

 #Sign in to AzureAD
 Connect-AzureAD
    
 #You can find the ObjectID by following the Azure Portal Steps above
 Get-AzureADServicePrincipal -ObjectId "<<Can be found using the AzurePortal steps above>>"


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.


Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


findprincipal.gif (1.1 MiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MathiasKlemt-2198
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue?

0 Votes 0 ·