Update for Beta Connector.

This commit is contained in:
Danny Adams 2023-01-19 16:41:32 -05:00
parent 613de30664
commit 7ef73b866a

View File

@ -59,6 +59,9 @@ func CreateBetaAdapter(tenant, client, secret string) (*beta.GraphRequestAdapter
cred, cred,
[]string{"https://graph.microsoft.com/.default"}, []string{"https://graph.microsoft.com/.default"},
) )
if err != nil {
return nil, errors.Wrap(err, "creating beta auth token")
}
httpClient := CreateHTTPClient() httpClient := CreateHTTPClient()