Skip to content

Commit

Permalink
Bugfix: synchronization only in beta API
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Feb 22, 2023
1 parent 6db0c54 commit 63e5d4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/services/serviceprincipals/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func NewClient(o *common.ClientOptions) *Client {
synchronizationJobClient := msgraph.NewSynchronizationJobClient(o.TenantID)
o.ConfigureClient(&synchronizationJobClient.BaseClient)

// Synchronization doesn't yet exist in v1.0
synchronizationJobClient.BaseClient.ApiVersion = msgraph.VersionBeta

return &Client{
DelegatedPermissionGrantsClient: delegatedPermissionGrantsClient,
DirectoryObjectsClient: directoryObjectsClient,
Expand Down

0 comments on commit 63e5d4e

Please sign in to comment.