-
Notifications
You must be signed in to change notification settings - Fork 111
Description
Hi,
When doing an export all with the following command line : Export-Entra -Path 'C:\EntraBackup' -All -CloudUsersAndGroupsOnly
I have the following error when exporting the "extensions" from "AdministrativeUnit". Is there anything I could do to correct this behaviour or maybe this is a kind of object which is not fully supported by the module (I see that the API call is done against the /beta version of API Graph).
Regards
Export-Entra: C:\Program Files\PowerShell\Modules\EntraExporter\2.0.7\Export-Entra.ps1:155
Line |
155 | … Export-Entra -Path $itemOutputFileName -Type $Type -Expor …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| GET https://graph.microsoft.com/beta/administrativeUnits/f046ee93-xxxx-xxxxx-xxxxx-xxxxxxxxxx/extensions
| HTTP/2.0 400 Bad Request Vary: Accept-Encoding Strict-Transport-Security: max-age=31536000 request-id:
| 92d09695-xxxx-xxxxx-xxxxx-xxxxxxxxxx client-request-id: 45d0e9c0-xxxx-xxxxx-xxxxx-xxxxxxxxxx
| x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"France
| Central","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"PA3PEPF0001B542"}} Date: Thu, 02 Oct 2025
| 12:34:37 GMT Content-Type: application/json {"error":{"code":"BadRequest","message":"This API is not supported
| for AAD accounts (no addressUrl for
| Microsoft.Graph.Extensibility,False).","innerError":{"date":"2025-10-02T12:34:38","request-id":"92d09695-xxxx-xxxxx-xxxxx-xxxxxxxxxx","client-request-id":"45d0e9c0-xxxx-xxxxx-xxxxx-xxxxxxxxxx"}}}