Welcome to the Alteryx Knowledge Base

SharePoint Tool: Using Certificate for Service Principal shows "Provided Azure application does not have required permissions for scheduling" error
user

Created/Edited - 7/8/2026 by Clara Boo | Alteryx

Issue

Configuring the SharePoint tool to use a certificate for the Service Principal may throw the following error during workflow execution if the private key information is incorrect.

 

Provided Azure application does not have required permissions for scheduling. Either disable 'use service principal' or provide an Azure app with required permissions and login again.

 

 

NOTE: There is no issue in configuring the tool with the certificate. The error only occurs during execution.

 

 

Environment
  • Alteryx Designer
    • Version: All
  • SharePoint Tool
    • Version >= 2.5.0
  • Authentication Type
    • Service Principal (App-Only) using a certificate

 

Cause

The entered private key in the Private Key field is missing the following delimiters:

 

-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----

 

Note that any misspelt word, missing delimiters or malformed PEM format will cause the mentioned error during workflow execution.

 

If you have entered an incomplete delimiter or any missing or incorrect characters in the delimiter, you may get the 404 error during the tool configuration instead.

 

 

 

For the unified connector, you will get a different error. Please refer to the following article:

SharePoint Unified Connector: Failed to fetch data during tool configuration when using Service Principal (Certificate)

 

 

 

Resolution

To address the error, please ensure the private key value starts with "-----BEGIN PRIVATE KEY-----" and ends with "-----END PRIVATE KEY-----" (no quotes).

 

Example (not a valid and partial private key):

 

-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC4Z5fR3DrvmKyj
...
gdsVU89pGnNcMubxlvW9iWY=
-----END PRIVATE KEY-----

 

Data Connection Manager (DCM) example:

 

 

If DCM is not used, then copy and paste the private key from the start delimiter to the end delimiter into the Private Key field in the tool configuration window.

 

 

Additional Information
Was this article helpful?