Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Powershell accessContainerId different from HTTP API GET #427

Open
JoELunaB opened this issue Jun 17, 2024 · 0 comments
Open

Powershell accessContainerId different from HTTP API GET #427

JoELunaB opened this issue Jun 17, 2024 · 0 comments

Comments

@JoELunaB
Copy link

Feature Request

I'm working on an audit report to get all the GDAP groups added to each tenant in my company, I was able to get this with 2 API calls, but it will only give me data for 1 per run, I went ahead and tried this through Powershell, took me a while but I was able to download the Graph SDK and Graph.Identity.Partner modules, I was able to use Connect-MgGraph with security Scopes (approved them via a popup),

Powershell does provide the same number of accessContainerId's but with different GUIDs vs getting them from HTTP GET API call, the API call do match the Entra Security Groups ID's but the Powershell Id's are different,

API CALL:
https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminRelationships/9ee93227-079b-41ea-89bf-8e1a4927e4db-f1f27eba-6bbb-4953-a138-5aefc73c992d/accessAssignments?$select=accessContainer

API CALL

Powershell call:
PowershellCall

What are these ID's Powershell is giving me?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant