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

Powershell accessContainerId different from HTTP API GET #427

@JoELunaB

Description

@JoELunaB

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions