Microsoft announced that they are removing the properties grantedTo and grantedToIdentities from Microsoft Graph resources.
The properties are included in the SharePoint permissions resource. Both properties have been deprecated for years. A V2 property is available.
Two sections are relevant for the two properties in SharePoint permissions.
grantedTo returns permissions for the Groups section. The alternative property is grantedToV2.

grantedToIdentities returns shared content with a sharing link. The alternative property is grantedToIdentitiesV2.

PowerShell returns the permissions for a file or folder.
$Url = "https://graph.microsoft.com/v1.0/sites/$SiteId/drive/items/$FileId/permissions"
$Result = Invoke-MgRestMethod -Method GET -Uri $Url
$ItemPermissions = $Result.value
$ItemPermissions
With the change, the red section will be removed, and the alternative V2 property must be used.
grantedTo will be removed, you have to use grantedToV2

grantedToIdentities will be removed, you have to use grantedToIdentitiesV2.
grantedToIdentitiesV2 includes more information than the old grantedToIdentities property.
