You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Restore Action Should Only Be Bound On directory/deletedItems #169
We currently don't have an OData capability annotation that we can use to restrict how OData actions and functions are bound.
The lack of this restriction results in a broken experience for customers using our SDKs since the generated actions bound on the derived types fail with a status code of 400.
A similar issue also affects grant action that's bound to permission. Grant action is only valid for POST /shares/{encoded-sharing-url}/permission/grant.
As per an internal discussion, we will add a new annotation to signal that an action or function must be explicitly bound (listed target types). See microsoft/OpenAPI.NET.OData#232 (comment)
Activity
peombwa commentedon Dec 13, 2022
A similar issue also affects
grantaction that's bound topermission.Grantaction is only valid forPOST /shares/{encoded-sharing-url}/permission/grant.As per an internal discussion, we will add a new annotation to signal that an action or function must be explicitly bound (listed target types). See microsoft/OpenAPI.NET.OData#232 (comment)
peombwa commentedon Dec 21, 2022
addaction onconversationMemberseems to be only valid forPOST /teams/{team-id}/members/add.See related issue - microsoftgraph/msgraph-sdk-powershell#1494.