Skip to content

Commit

Permalink
Workaround: revert to using the beta API for applications, due to mic…
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Feb 17, 2023
1 parent fbf03e4 commit 5e65e9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/services/applications/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ func NewClient(o *common.ClientOptions) *Client {
applicationsClient := msgraph.NewApplicationsClient(o.TenantID)
o.ConfigureClient(&applicationsClient.BaseClient)

// See https://github.com/microsoftgraph/msgraph-metadata/issues/273
applicationsClient.BaseClient.ApiVersion = msgraph.VersionBeta

applicationTemplatesClient := msgraph.NewApplicationTemplatesClient(o.TenantID)

o.ConfigureClient(&applicationTemplatesClient.BaseClient)
Expand Down

0 comments on commit 5e65e9a

Please sign in to comment.