Closed ztrhgf closed 10 months ago
OK so I have narrowed this issue down and the problem is with PowerShell Core 7.3.7. Even on local device when using this PSH version export fails
I am having the same issue with PS 7, I used graph explorer to call the same endpoint and received same error.
This will work https://graph.microsoft.com/beta/organization/tenantID
When you add settings to the end like below. it starts erroring out https://graph.microsoft.com/beta/organization/tenantID/settings
I am now thinking that "settings" is not a valid after / as per graphexplorer
This has been fixed now. Please update to the latest version
I've created an Azure application, grant it a "Global reader" role + all graph permission needed.
If used in PowerShell 5.1 on my local computer like:
everything works fine and Azure settings are backed up. If the same code is called inside the Azure DevOps pipeline, it throws an error
Any ideas what is going on? The same Graph and EntraExported modules version are used.