4 weeks ago
I'm trying to establish an app connection to sharepoint. The client is telling me that we have to use the Client Credentials method because the "Authorization Code Grant" method is requiring tennat authentication and at this point and time they aren't wanting to jump through the administrative hoops to get a service account approved and granted.
Our issue is how do we get the strings out of the cer and pfx files to put into the Certificate and Private Key fields?
3 weeks ago
Hi @rharkness
Have you gone through this documentation on how to establish a SharePoint connection using Client Credentials
Workato connectors - SharePoint | Workato Docs
3 weeks ago
Yes, that was the website being consulted when I was working with the client's sharepoint person. It wasn't very helpful
3 weeks ago - last edited 3 weeks ago
Head to https://portal.azure.com and in left menu you can find Microsoft Entra ID, choose that.
under manage you can see App registrations โ click New registration
Give it a name
Leave redirect URI empty (client credentials donโt need it)
Click Register
After registration, go to API permissions ( in left menu you can find it)
Click Add a permission โ choose Microsoft Graph
Choose Application permissions
Add Sites.Read.All or Sites.ReadWrite.All depending on your needs
Click Grant admin consent so these permissions are actually active
Go to Certificates & secrets โ under Certificates, click Upload certificate
Upload the .cer file you have
Youโll now see a thumbprint
If you're using .pfx instead (which includes the private key too), see next step
If Workato is asking for certificate and private key, and all youโve got is a .pfx file, you can extract both using
Double-click your .pfx file โ Import it into Current User
Open certmgr.msc (Windows Key + R โ type certmgr.msc)
Find your cert under Personal โ Certificates
Right-click it โ All Tasks โ Export
Export without private key โ choose .cer (Base64 X.509)
Export with private key โ choose .pfx or .pem format
Once exported, open both files in Notepad/Notepad++ to grab:
The certificate โ starts with -----BEGIN CERTIFICATE-----
The private key โ starts with -----BEGIN PRIVATE KEY-----
These are the strings you'll copy-paste into Workato's connector fields.
Go to the SharePoint connector in Workato
Choose Authentication: Client Credentials (Certificate)
Fill in:
Client ID (from Azure)
Tenant ID (from Azure)
Certificate = contents of your .crt
Private Key = from .pfx or exported .pem
SharePoint Site Name or URL
Click Save and run a test โ if everything above was done right, you should be connected.