The GraphQL to list various objects in M365 was changed, breaking the script.
Related Issue
Motivation and Context
Various tools are failing due to the invalid field.
How Has This Been Tested?
Verified using pwsh for mac
PS /Users/ameliavu/polaris-o365-powershell/RubrikPolaris/M365> Import-Module ../RubrikPolaris.psd1
PS /Users/ameliavu/polaris-o365-powershell/RubrikPolaris/M365> Connect-Polaris
PS /Users/ameliavu/polaris-o365-powershell/RubrikPolaris/M365> Get-PolarisM365Sharepoint -Includes "ListsOnly"
cmdlet Get-PolarisM365SharePoint at command pipeline position 1
Supply values for the following parameters:
SubscriptionId: b5028536-82eb-46f8-99ee-3a309cc3f09d
name : Full SharePoint Hierarchy List at Level 1 (RBK 31 Oct 22 05:17 UTC)
id : 02c83a1f-2635-49cf-a987-63e3c11d174a
type : O365SharePointList
slaAssignment : Unassigned
effectiveSlaDomainName : UNPROTECTED
...
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!
[ ] My change requires a change to the documentation.
Description
The GraphQL to list various objects in M365 was changed, breaking the script.
Related Issue
Motivation and Context
Various tools are failing due to the invalid field.
How Has This Been Tested?
Verified using pwsh for mac
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!