microsoftgraph / microsoftgraph/msgraph-sdk-python

Invalid key: UserExtend for enum AccessPackageRequestType

Open
#838 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

dependency:metadata type:bug
Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Describe the bug

If my program is attempting to get all access package assignment requests, and comes across a request that has Request Type "UserExtend" it will throw and exception with the error stated in the title.

This type has been documented as a supported type in AccessPackageAssignmentRequest, but is not implemented in the AccessPackageRequestType.

Expected behavior

When making the call to retrieve all access package requests, it should return all requests - of all types, and not throw an exception.

How to reproduce

Requirement: Have an access package request of type "UserExtend" and an initialized GraphServiceClient.

then execute the code:
access_package_requests= await graph_client.identity_governance.entitlement_management.assignment_requests.get()

SDK Version

1.5.3

Latest version known to work for scenario above?

No response

Known Workarounds

None. Enum type is not implemented.

Debug output

No response

Configuration

No response

Other information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.