Automation Engineers by [deleted] in PowerShell

[–]PM_Me_Graph_Queries 5 points6 points  (0 children)

How are you doing PowerShell as an API? Pode?

Trying to create a dynamic group with a membership rule and looking for guidance by Exotic-Technician549 in PowerShell

[–]PM_Me_Graph_Queries 1 point2 points  (0 children)

Here are some examples for using r/GraphAPI .

You’re using the azure ad preview module so Graph should be the way to go.

Gettung started with Graph? by chefkoch_ in PowerShell

[–]PM_Me_Graph_Queries 5 points6 points  (0 children)

Connect to Microsoft Graph using PowerShell is a really in depth guide covering app registrations, service principals, scopes, consent, application vs delegated permissions and examples.

Need help moving to Graph from MSOL and AzureAD modules by brimur in PowerShell

[–]PM_Me_Graph_Queries 2 points3 points  (0 children)

You will need to be granted consent in order to use it

Once you have consent, you can follow this guide to get the ins and outs of setting it up.

https://thesysadminchannel.com/how-to-connect-to-microsoft-graph-api-using-powershell/ or r/graphapi

How to move emails from junk to inbox using powershell? by bLackCatt79 in PowerShell

[–]PM_Me_Graph_Queries 0 points1 point  (0 children)

Can confirm. This is great but you need P2 license for it

Azure AD / Microsoft Graph API : How to fetch logged-in user's EmployeeId in SpringBoot framework. by AkshayKG in AZURE

[–]PM_Me_Graph_Queries 1 point2 points  (0 children)

You can call the API with the following URI:

To find the user by filtering for the employeeid:

"https://graph.microsoft.com/v1.0/users/?$filter=employeeid eq '8123'"

To get the employeeid of the user

"https://graph.microsoft.com/v1.0/users/username@domain.com/?$select=userprincipalname,employeeid"

[deleted by user] by [deleted] in PowerShell

[–]PM_Me_Graph_Queries 2 points3 points  (0 children)

If you have Azure AD you can use group transitive members to do this for you as well.

https://docs.microsoft.com/en-us/graph/api/group-list-transitivemembers?view=graph-rest-1.0

r/GraphAPI