Wrong permission listed for Create personAward beta endpoint
I am able to create person award using New-MgBetaUserProfileAward command and an app registration which have application persmission "User.ReadWrite.All" and was able to create the award. However in documentation it is mentioned that Application permission is not supported for this endoint. Just wanted to understand if the documentation is not updated or I am missing anything ?
Documentation - https://learn.microsoft.com/en-us/graph/api/profile-post-awards?view=graph-rest-beta&tabs=http
Code Snippet -
Import-Module Microsoft.Graph.Beta.People
Connect_MGGraph -clientId "" -CertificateThumbprint ""
$params = @{
description = "Lifetime Achievement award from the International Association of Branding Managers"
displayName = "Lifetime Achievement Award For Excellence in Branding"
issuedDate = "Date"
issuingAuthority = "International Association of Branding Management"
thumbnailUrl = "https://iabm.io/sdhdfhsdhshsd.jpg"
webUrl = "https://www.iabm.io/"
}
New-MgBetaUserProfileAward -UserId $userId -BodyParameter $params
Thanks