Skip to content

Restriction annotations are missing for /invitations #427

Closed

Description

@peombwa

The API only supports POST /invitations in v1.0 and beta - https://learn.microsoft.com/graph/api/resources/invitation?view=graph-rest-1.0#methods. However, the current OpenAPI description describes the path as supporting CRUD operations, which is misleading to customers as pointed out at microsoftgraph/msgraph-sdk-powershell#2290:
image

Restriction annotations should be added to the metadata XSL to remove the unsupported operations.

Activity

  1. added
    Area: Annotations
    and removed on Nov 1, 2023
  2. irvinesunday commented on Nov 1, 2023

    @irvinesunday
    Contributor

    I'm curious here. Access to the navigation property invitedUser via key is also not supported? invitations/{invitation-id}/invitedUser

  3. irvinesunday commented on Jun 3, 2024

    @irvinesunday
    Contributor

    An IndexableByKey annotations will need to be added under the invitations entity set

    <Annotations Target="microsoft.graph.GraphService/invitations">
       <Annotation Term="Org.OData.Capabilities.V1.IndexableByKey" Bool="false" />
    </Annotations>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: Annotationsmetadata-issue-upstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions