diff --git a/internal/clients/graph/client.go b/internal/clients/graph/client.go index 63131098ca5a..d70ee4597a66 100644 --- a/internal/clients/graph/client.go +++ b/internal/clients/graph/client.go @@ -41,7 +41,7 @@ type directoryObjectModel struct { } func graphClient(authorizer auth.Authorizer, environment environments.Environment) (*msgraph.Client, error) { - client, err := msgraph.NewMsGraphClient(environment.MicrosoftGraph, "Graph", msgraph.VersionOnePointZero) + client, err := msgraph.NewClient(environment.MicrosoftGraph, "Graph", msgraph.VersionOnePointZero) if err != nil { return nil, fmt.Errorf("building client: %+v", err) }