microsoft / EntraExporter

PowerShell module to export a local copy of an Entra (Azure AD) tenant configuration.
https://aka.ms/EntraExporter
MIT License
568 stars 89 forks source link

Entra Exporter fails with latest mggraph release 2.11.0 #60

Open c-baumgartner opened 9 months ago

c-baumgartner commented 9 months ago

Hi,

the latest mggraph release 2.11.0 breaks the Entra Export because of URL Encoding special characters:

https://github.com/microsoftgraph/msgraph-sdk-powershell/pull/2455

You are encoding parts of the URI already. Because of this you are passing an URI string to Invoke-MgGraphRequest that contains a '%'.

As a temporary workaround I have pinned my Powershell Module for mggraph to 2.9.1 (I think also 2.10.0 should work) and this fixes the broken Entra export.

modestas-j commented 8 months ago

Hello,

looks like we are having similar issue and problem remains even while using mggraph 2.9.1.

OnpKG2nRBY

Any help would be appreciated.

modestas-j commented 8 months ago

Hello,

looks like we are having similar issue and problem remains even while using mggraph 2.9.1.

OnpKG2nRBY

Any help would be appreciated.

The problem above has been resolved by excluding the following objects from the export:

EntitlementManagement Governance

SamErde commented 3 months ago

Has this been fixed as of Microsoft.Graph v2.19.0? I don't have these objects in my test tenant yet.