MaxProjectionLength Parameter (Connect-MicrosoftProject Cmdlet)
Set this to override the maximum length of characters supported in the $select system query option by the Microsoft Project API service.
Syntax
Connect-MicrosoftProject -MaxProjectionLength int
Data Type
int
Default Value
1000
Remarks
In case the set MaxProjectionLength is exceeded when selecting multiple columns, the 本製品 will split the query into multiple requests, each of them containing a subset of the selected columns. Decreasing the value can help in cases when the API might not return all the columns in the response or might throw an error because the value specified in $select is too long. On the other hand, increasing it can result in better performance because fewer HTTP requests are sent. Set the value to -1 to send all selected columns in one request regardless of the length.