SharePoint – MS EntraID

<< Click to Display Table of Contents >>

Navigation:  Connectors >

SharePoint – MS EntraID

Overview

The SharePoint – MS EntraID connector for Bizagi is available for download at Bizagi Connectors Xchange.

Through this connector, you can connect your Bizagi processes to your SharePoint account and services.

For more information about this connector's capabilities, visit Bizagi Connectors Xchange.

 

note_pin

This connector was developed based on the specifications of the API and the information provided by SharePoint. Bizagi and its subsidiaries do not offer any guarantees regarding the content or potential errors resulting from calls to the API services. Furthermore, Bizagi and its subsidiaries assume no responsibility for any loss, cost, or damage arising from the use of SharePoint’s API.

 

Before You Start

To test and use this connector, you need:

1.Bizagi Studio installed.

2.This connector installed, via the Connectors Xchange as described in the Conectors Exchange article, or through a manual installation as described in the article Connectors Setup.

3.An account at https://products.office.com/sharepoint/collaboration.

4.Obtain the connection parameters of your SharePoint service:         

a.URL

b.Tenant name

c.Tenant ID

d.Resource ID

5.Create a new app and save your application parameters:

a.Client ID

b.Client secret

6.Add permissions to your new SharePoint application.

 

Authentication

 

note_pin

The authentication process can only be performed by an Admin User.

 

To begin configuring the connector, you first need to set up access to SharePoint. This can be done using SharePoint Entra ID. To authenticate, follow these steps:

1.Open PowerShell and run the following script:

 

$app = Register-PnPAzureADApp -ApplicationName "Here the name of your application" -Store CurrentUser -Tenant yourtenant.onmicrosoft.com -Username "your-username" -Password (Read-Host -AsSecureString -Prompt "Enter Password") -CertificatePassword (Read-Host -AsSecureString -Prompt "Enter Certificate Password") -OutPath .\

$app.'AzureAppId/ClientId'

$app.'Certificate Thumbprint'

 

2.After executing the script, a login screen will appear. You will be prompted to provide the following information:

User password

Certificate password

Authentication code

 

note_pin

This information will be displayed in the script’s output.

 

After running the script, the same window will display the ClientId and Certificate Thumbprint. Make sure to save this information, as it is required to configure the connector.

 

Sharepoint010

 

After configuring the new Entra ID app, the following summary view will appear:

 

Sharepoint011

 

note_pin

The Sharepoint Entra ID certificate (.pfx and .cer files) is stored in the path where the previous script was executed.

 

Sharepoint012

 

Configuring the Connector

Preparing the .PEM File for Connector Configuration

1.To configure the connector you need a .pem file. This file can be generated by converting the .pfx file located in the directory where the script was executed. You can use an online converter, such as sslshopper.com.

The resulting .pem file will include both the Private Key and the Certificate.

 

Sharepoint013

 

2. Then, transform the Private Key file (key.pem) to base 64. You can use an online encoder such as base64.guru.

 

Sharepoint014

 

URL and Tenant name

URL: This is the base URL used to access your SharePoint services. Typically, it follows the format: https://[company-name].sharepoint.com. However, you can also create a SharePoint integration for each individual site if needed.

Tenant name: The name of your SharePoint tenant is the part of the URL that appears immediately before sharepoint.com.

 

Configuring Authentication Parameters

To configure the connector (in particular its authentication parameters), follow the steps presented at the Configuration chapter in the Installing and managing connectors article.

 

For this configuration, consider the following authentication parameters:

Authentication method: Custom.

CLIENT_ID: This is the unique identifier of the application registered with Azure.

TENANTID: This is the identifier of the organization's Azure directory. It ensures that the connector only searches for users and permissions within the specified domain.

SCOPE: This defines the specific permissions that the connector requests on the SharePoint API. For Client Credentials, this is typically the resource followed by /.default (e.g., https://graph.microsoft.com/.default), indicating that all application permissions previously approved by the administrator will be used.

CERTIFICATE_THUMBPRINT: This is the "digital fingerprint" of the certificate (a hexadecimal hash). It allows Azure to quickly identify which of the certificates uploaded to the portal to use to validate the token request signature.

CERTIFICATE_BASE64: This is the content of the public certificate (a .cer or .crt file) encoded in text format. This value is what the connector will programmatically use to sign the request or prove identity without exposing physical files on the server.

 

Sharepoint15   Sharepoint16

 

Using the Connector

This connector features a set of methods to help you take advantage of the capabilities of SharePoint's API services.

To learn overall how/where to configure the use of a connector, refer to the article Using connectors

When using the connector, keep in mind the following details for the available method.

 

Copy File

This action copies a file to a new folder.

 

To configure its inputs, take into account the following descriptions:

file_path: Full file path, including name and extension.

destination_path: New path of the file, including name and extension. You can change the file name in the new folder using this field.

 

Sharepoint17

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint18

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Create File

This action creates a new file in the specified SharePoint folder.

 

note_pin

If a file with the same name and extension exists inside the folder, this action overwrites it without throwing an error.

 

To configure its inputs, take into account the following descriptions:

folder_path: Full path of the folder where the file will be created. This folder must exist.

file_name: Name and extension of the file.

file: File encoded in base64 format. The maximum weight of the file is restricted by Bizagi's file size configuration.

 

Sharepoint19

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint20

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Delete a Folder

This action deletes a specific folder. If the folder doesn't exist, this action doesn't throw an error.

 

To configure its inputs, take into account the following descriptions:

folder_path: Full path of the folder. You can't delete a folder that contains a file inside it. You must first delete all the files in the folder.

 

Sharepoint21

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint22

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Create a Folder

This action creates a new folder in SharePoint.

 

note_pin

If a folder with the same name and path already exists, no new folder will be created. Instead, the information from the existing folder will be retrieved.

 

To configure its inputs, take into account the following descriptions:

folder_path: Full path of the folder. It must include the folder name at the end.

 

Sharepoint23

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint24

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Delete File

This action deletes a file using its full path. If the file doesn't exist, this action doesn't throw an error.

 

To configure its inputs, take into account the following descriptions:

file_fullpath: File path, including name and extension of the file to delete.

 

Sharepoint25

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint26

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Get File Content

This action downloads a specific file.

 

To configure its inputs, take into account the following descriptions:

folder_path: Path of the folder that contains the file.

file_name: Name and extension of the file.

 

Sharepoint27

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint28

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Get Files in Folder

This action gets a list of all the files in a folder.

 

To configure its inputs, take into account the following descriptions:

folder_path: Folder path.

 

Sharepoint29

 

To configure the outputs of this action, you can map the output array to the corresponding collection in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint30

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Update a File

This action updates an existing file.

 

To configure its inputs, take into account the following descriptions:

folder_path: Path of the folder that contains the file.

file_name: Name and extension of the file.

file: new data of the file encoded in base64.

 

Sharepoint31

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint32

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Get Lists

This action shows all the available lists.

 

To configure its inputs, take into account the following descriptions:

list_hidden: Specifies whether hidden lists should be included. This parameter must be defined as a Boolean value in your Bizagi model.

 

Sharepoint33

 

To configure the outputs of this action, you can map the output array to the corresponding collection in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint34

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Create a List

This action creates a new SharePoint list.

 

To configure its inputs, take into account the following descriptions:

title: Title of the list.

description: Description of the list.

 

Sharepoint35

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint36

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Update List by ID

This action updates a list using its ID.

 

To configure its inputs, take into account the following descriptions:

id: GUID of the list.

title: Title of the list.

description: Description of the list.

 

Sharepoint37

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint38

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Create a Custom Field for a List by ID

This action creates a custom field (column) in a SharePoint list by specifying its unique list ID.

 

note_pin

This action can create duplicated custom fields.

 

To configure its inputs, take into account the following descriptions:

guid_list: GUID of the list.

title: Title of the custom field.

description: Description of the custom field.

is_required: Whether the custom field is required. This parameter should be a boolean in your Bizagi model.

field_type: Type of the custom field.

 

Sharepoint39

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint40

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ee540543(v%3Doffice.15).

 

Get Fields from a List

This action gets a field from a list.

 

To configure its inputs, take into account the following descriptions:

list_name: Name of the list.

list_hidden: whether hidden fields must be included. This parameter should be a boolean in your Bizagi model.

 

Sharepoint41

 

To configure the outputs of this action, you can map the output array to the corresponding collection in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint42

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Delete a List

This action deletes a list. If the list doesn't exist, this action doesn't throw an error.

 

To configure its inputs, take into account the following descriptions:

guid: GUID of the list.

 

Sharepoint43

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint44

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Create List Item

This action creates a new item in a list.

 

note_pin

This action can create duplicated list items.

 

To configure its inputs, take into account the following descriptions:

list_name: Title of the list.

list_itemName: Name of the new item.

 

Sharepoint45

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint46

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Get List Items

This action retrieves the item list from a SharePoint list.

 

To configure its inputs, take into account the following descriptions:

lit_name: Name of the list.

 

Sharepoint47

 

To configure the outputs of this action, you can map the output array to the corresponding collection in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint48

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Update List Item

This action updates the title of a specific item from a list.

 

To configure its inputs, take into account the following descriptions:

list_itemId: Id of the item inside the list.

list_itemName: New name of the list item.

list_name: Name of the list that contains the item.

 

Sharepoint49

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint50

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Delete List Item by ID

This action deletes a specific item from a list by providing its ID.

 

To configure its inputs, take into account the following descriptions:

list_itemId: Id of the item inside the list.

list_name: Name of the list that contains the item.

 

Sharepoint51

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint52

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Create a File Attachment to a List Item

This action attaches a file to a specific list.

 

To configure its inputs, take into account the following descriptions:

list_name: Name of the list that contains the item.

item_id: id of the item inside the list (not its GUID).

file: file in base 64 format.

file_name: name of the file.

 

Sharepoint53

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint54

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest.

 

Create List Item with Multiple Fields

This action creates a new item in a list with multiple custom fields.

 

note_pin

This action can create duplicated list items.

 

To configure its inputs, take into account the following descriptions:

list_name: Name of the list.

custom_fields: List of the object's custom fields and its values.

field_name: Name of the custom field.

field_value: value of the custom field.

 

Sharepoint55

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint56

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ee540543(v%3Doffice.15).

 

Get File Metadata

This action gets the metadata of a specific file.

 

To configure its inputs, take into account the following descriptions:

file_full_path: Full file path, including name and extension.

 

Sharepoint57

 

To configure the outputs of this action, you can map the output object to the corresponding entity in Bizagi. Make sure you map the attributes of the entity appropriately.

 

Sharepoint58

 

For more information about using this method, refer to SharePoint's official documentation at https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest.

 

Troubleshooting

After configuring the SharePoint MS EntraID connector, you may encounter some of the following error messages in the Work Portal:

 

When the message shown in the image appears, you must check the path of the action that is being executed. Generally, the path for all the SharePoint connections is: Shared Documents/[Folder].

 

Sharepoint008

 

If the following message appears, in addition to specifying the path, ensure that the CLIENT_ID, CLIENT_SECRET, and RESOURCE_ID are correctly configured.

 

Sharepoint009


Last Updated 12/17/2025 5:12:54 PM