Auth issue with Azure AD - Rancher 2.8.0

Hey guys, I’m getting an issue when trying to setup Azure AD SSO on Rancher. I’ve followed the documentation - created a new app registration with the required API permissions (Directory.Read.All, Group.Read.All and User.Read.All), generated a secret and added the redirect URI. This is the error I’m getting when I try to enable auth through Azure:

server error while authenticating: UsersClient.BaseClient.Get(): Get “”: http: RoundTripper implementation (*retryablehttp.RoundTripper) returned a nil *Response with a nil error

We have older ranchers configured with Azure AD that used the deprected graph APIs which seem to be working fine. This is the first time we’re trying to configure using Microsoft Graph API permissions.