Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using beta version of API for accessPackage #188

Closed
stanleyz opened this issue Oct 7, 2022 · 1 comment
Closed

Consider using beta version of API for accessPackage #188

stanleyz opened this issue Oct 7, 2022 · 1 comment

Comments

@stanleyz
Copy link

stanleyz commented Oct 7, 2022

The beta version returns more info than the v1.0 version, including the important catalogId, see below screenshots.

BaseClient: NewClient(Version10, tenantId),

Screen Shot 2022-10-07 at 10 36 27 PM

Screen Shot 2022-10-07 at 10 36 46 PM

@manicminer
Copy link
Owner

@stanleyz THanks for the feature request. Whilst we typically default to v1.0 APIs, this can be overriden when using the SDK, for example:

client = msgraph.NewAccessPackageClient(c.Connection.AuthConfig.TenantID)
client.BaseClient.ApiVersion = msgraph.VersionBeta

It's unlikely we'll change the default version, since it's possible for the user to override this whenever instantiating a client. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants