Get Principal Id by LoginName for Entra Id Group

How to retrieve the principal id value of a Entra Id security group (or a single user) in SharePoint Online using a Power Automate flow.

URI

Headers

Body

Not applicable

Screenshot with example

Sample data
LoginName – c:0t.c|tenant|28f4e039-2b98-4117-92ef-6dfb30f6121d

getprincipalidbyloginnameforgroup

Copy/paste example

Resources

GetByLoginName Method

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.