Skip to content

POST, PATCH, DELETE should not be supported for /roleManagement/directory/roleEligibilitySchedules/{unifiedRoleEligibilitySchedule-id} #455

Open

Description

The API currently supports GET requests only but the Open API/CSDL has POST, PATCH, DELETE. Capability annotation restrictions should be added for the unsupported methods.
https://learn.microsoft.com/en-us/graph/api/resources/privilegedaccessgroupeligibilityschedule?view=graph-rest-beta

Screenshot (252)

ICM ticket https://portal.microsofticm.com/imp/v3/incidents/details/429368736/home

Activity

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

    @irvinesunday
    Contributor

    The annotation needed to be added...

    <Annotations Target="microsoft.graph.unifiedRoleEligibilitySchedule">
      <Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
        <Record>
          <PropertyValue Property="Insertable" Bool="false" />
        </Record>
      </Annotation>
      <Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
        <Record>
          <PropertyValue Property="Updatable" Bool="false" />
        </Record>
      </Annotation>
      <Annotation Term="Org.OData.Capabilities.V1.DeleteRestrictions">
        <Record>
          <PropertyValue Property="Deletable" Bool="false" />
        </Record>
      </Annotation>
    </Annotations>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: AnnotationsToTriagemetadata-issue-upstream

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions