microsoftgraph / microsoftgraph/msgraph-beta-sdk-dotnet
IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.GetAsync() marked as obsolete
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 112
- Forks
- 37
- Avg merge
- 14h 57m
- Merged PRs (30d)
- 3
Description
I'm using Microsoft.Graph.Beta 5.49.0-preview, the latest at the time of writing.
This is a snippet of my code:
var response = await _graphClient.IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.GetAsync(
requestConfiguration =>
{
requestConfiguration.QueryParameters.Expand = new[] { "AccessPackageResources" };
});
I'm getting a warning about IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.GetAsync() being obsolete:
Warning CS0618 : 'AccessPackageCatalogsRequestBuilder.GetAsync(Action<AccessPackageCatalogsRequestBuilder.AccessPackageCatalogsRequestBuilderGetRequestConfiguration>?, CancellationToken)' is obsolete: ' as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31'
I've not been able to find a way to resolve this - what should I be calling instead?
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with IdentityGovernance.EntitlementManagement.AccessPackageCatalogs.GetAsync() in Microsoft.Graph.Beta 5.49.0-preview and the CS0618 warning quoted in the issue. Identify the supported replacement for retrieving AccessPackageResources and document a non-obsolete call that provides the same result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100