DownloadErrorScript
2.0
This script downloads the item errors in a Microsoft Graph Connectors Connection. An Msal token is generated using the tenant credentials in which the connection is present.
That token is then used to first get all the distinct error codes with which the items failed and then for each error code all the item errors are fetched iteratively.
Getting item errors for a pa
That token is then used to first get all the distinct error codes with which the items failed and then for each error code all the item errors are fetched iteratively.
Getting item errors for a pa
This script downloads the item errors in a Microsoft Graph Connectors Connection. An Msal token is generated using the tenant credentials in which the connection is present.
That token is then used to first get all the distinct error codes with which the items failed and then for each error code all the item errors are fetched iteratively.
Getting item errors for a particular error code is a batched API call with default batch size as 250.
Token is generated using MSAL.PS module, while installing this PS script, MSAL.PS module should be installed automatically.
If this doesn't happen use the below command to install MSAL.PS
Install-Module -Name MSAL.PS
Show more
That token is then used to first get all the distinct error codes with which the items failed and then for each error code all the item errors are fetched iteratively.
Getting item errors for a particular error code is a batched API call with default batch size as 250.
Token is generated using MSAL.PS module, while installing this PS script, MSAL.PS module should be installed automatically.
If this doesn't happen use the below command to install MSAL.PS
Install-Module -Name MSAL.PS
Installation Options
Owners
Copyright
(c) Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Tags
Microsoft Graph Search PowerShell
Functions
GetEnvironmentFromTenant SelectBaseUrl InitializeOutputFile WriteErrorBatchToOutputFile WriteExceptionToOutputFile Invoke-RestMethodWithRetries Get-TokenWithRetries
Dependencies
FileList
- DownloadErrorScript.nuspec
- DownloadErrorScript.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.1 | 140 | 11/7/2023 |
2.0 (current version) | 10 | 10/25/2023 |
1.0 | 11 | 8/18/2023 |