Welcome to the Alteryx Knowledge Base
Created/Edited -
SharePoint tools (Input/Output) do not work for every authentication combination in DCM Connection Handling.
Below is an example of a failed job after using DCM Connection Handling:
Configuration Example:
In DCM connection handling (Admin > DCM Connection Handling), the connection ID ( b46bf927-9c26-449f-99ab-ac8e4fd798b7) has been configured to use another DCM connection as shown below:
The following table shows the authentication method that works and the errors for those that do not work when DCM Connection Handling is used:
| Source Connection to Target Connection | Version 2.7.1 (Working?) | Version 2.7.2 (Working?) | Version 2.7.3 (Working?) | Error Messages |
|
Source: Service Principal Target: Service Principal | No | Yes | Yes |
Version 2.7.1 fails with the following error: <class 'AttributeError'>: 'NoneType' object has no attribute 'strip' |
|
Source: Built-in App Target: Service Principal | No | No | No |
Version 2.7.1 fails with the following error: Failed to authenticate
Versions 2.7.2 and 2.7.3 fail with the following errors:
|
|
Source: Custom App Target: Service Principal | No | No | No |
Version 2.7.1 fails with the following error: Failed to authenticate
Versions 2.7.2 and 2.7.3 fail with the following errors:
|
|
Source: Service Principal Target: Built-in App | No | No | No |
All versions show the following error: <class 'AttributeError'>: 'NoneType' object has no attribute 'get' |
|
Source: Service Principal Target: Custom App | No | No | No |
All versions show the following error: Failed to authenticate. |
|
Source: Built-in App Target: Built-in App | Yes | Yes | Yes |
|
|
Source: Custom App Target: Custom App | Yes | Yes | Yes |
|
|
Source: Built-in App Target: Custom App | No | No | No |
All versions show the following error: Failed to authenticate. |
|
Source: Custom App Target: Built-in App | No | No | No |
All versions show the following error: <class 'AttributeError'>: 'NoneType' object has no attribute 'get' |
IMPORTANT:
Target that uses either the built-in app or the custom app needs the DCM connection to be used once in the SharePoint tool in Designer. You do NOT need to save the workflow. Once the connection is established, you need to synchronise it to the Gallery to avoid the errors below.
Version 2.7.1 (Built-in app as the target connection):
Failed to authenticate
Version 2.7.1 (Custom app as the target connection):
<class 'AttributeError'>: 'NoneType' object has no attribute 'strip'
Versions 2.7.2 and 2.7.3 (Built-in app or Custom app as the target connection):
User must be logged in.
<class 'TypeError'>: 'NoneType' object does not support item assignment
- Alteryx Designer/Server
- Version: All
- SharePoint Tools
- Version >= 2.7.1
- Authentication Method:
- Service Principal
- Custom App
- Built-in App
A defect (GCSE-3562/TPM-4822) has been logged to address these errors.
Solution A: Upgrade SharePoint Tool Version
The error for the different authentication method combinations in the DCM Connection Handling has been addressed in SharePoint version 2.7.4. Please download this release from Alteryx Marketplace.
Solution B: For SharePoint Tool Version < 2.7.4
There is no suitable workaround for the failed combinations as mentioned in the Issue section. Only the same authentication method used in both the Source and the Target in DCM Connection Handling works for now. The Service Principal authentication method used in both the Source and the Target does not work in version 2.7.1. If you are using this authentication method in both the Source and the Target, please use version 2.7.2 or above.