CURL connection problem - XWiki with Azure Active Directory

Hello Everyone,
I am new here, but I am hoping someone might be able to help.

We can’t be the only site that uses Azure Active Directory to secure our XWiki.

I am trying to connect with curl. The longer term desire is to automatically upload comparisons of database models to the physical database in all environments to check on changes that have not been reviewed/approved.

Problem: Connecting to the XWiki with curl.
I have tried the following but nothing is returned: XWikiURI - https://xwiki..com/xwiki/rest/wikis

curl --ntlm -u : --insecure
curl --ntlm -u :
curl --ntlm -u @.com:
curl --negotiate -u :
curl --anyauth -u :

And even
curl --cookie “visitid=XXXX; JSESSIONID=XXXX”
with the active session values from a chrome session on the website.

curl -v https://www.xwiki.org/xwiki/rest/wikis works perfectly.

depending on the option I tried, I get the following error:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

I am getting a non Azure AD user account added so temporarily I can use the Basic connection option with -u :, but longer term I would prefer the SSO option.

I am hoping someone might have some insight into what could be the issue?