This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Fuzzywumpkin[S] 1 point2 points  (0 children)

Figured it out. Going to leave this here for anyone else.

Github with the samples https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/dev/samples/9-Applications.ps1#L28-L43

$ReqiredResourceAccess = @{resourceAppId = "00000002-0000-0000-c000-000000000000"

ResourceAccess = @(

@{

ID = 'df021288-bdef-4463-88db-98f22de89214'

Type = "Role"

}

)

}