Hi,
We have finally (see my other post) managed to get the SharePoint tools installed on the server but now when running a sample workflow that just downloads a file, I get an error: Failed to authenticate.
In the tool I have provided the Client ID, Secret and Tenant ID, I've not ticked the 'Use as service principal (app-only authentication) option as when I have that option checked and run the workflow, I get 'Request forbidden -- authorization will not help'. Im wondering if I do need to check this option but that my SharePoint admins need to do something else so I dont get the forbidden error message? Does this make sense?
Hi @craigja
1) Do you have AMP engine enabled within Designer?
2) Are there any other users experiencing this issue?
3) Did you install the latest patch for Designer 22.1?
Compatible with Designer 2021.4.2 Patch 4, 2022.1 Patch 2 and later
When enabling use as service principal, does the XML AuthenicationMethod say Basic or ServicePrincipal? (To enable XML in Designer, go to Options --> User Settings --> Edit user settings --> Advanced tab check off xml and in the tool configuration window, there should be a gear icon)
Hope this helps.
1) Do you have AMP engine enabled within Designer?
Yes and the tool wont work without AMP enabled, it runs fine on my local install of Alteryx, this is me trying to get it running on the server
2) Are there any other users experiencing this issue?
I'm the first to attempt this, we have been using the SharePoint lists tool with no error but are now wanting to work with files on SharePoint
3) Did you install the latest patch for Designer 22.1?
We are on 2022.1 but Im not sure the patch level on the server
Compatible with Designer 2021.4.2 Patch 4, 2022.1 Patch 2 and later
If I get the Admin to open Alteryx up on the server and open my test workflow, when clicking on the tool it is not connected, I think this is the issue. On my machine when I connect for the first time it takes me to an Azure login page, it obviously cant do this when running on the server, The SharePoint/Azure guys are saying the app authentication has been setup as delegated as they wonder if this is the issue but I think they want this confirmed before they go and change things.
Do I maybe need to follow this article?
Hi @craigja
Yes, I would recommend following this article.
I would also recommend making the following changes to your machine and the server machine.
The SharePoint Files connector is a Python-based connector, so it will require the following registry key to exist in both the end users machine as well as each worker node on the server.
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SRC\Alteryx
Value Name: PythonAllowHideEncryption
Value Data: true
Hope this helps. If it helps please like this post/mark it as a solution so other users can see the solution.
Cool, we have the Reg Key already on the server as we needed it for the SharePoint Lists tool, will hopefully get one of the admins to follow the instructions in the link
If the last post resolves the issue, please like the post and mark it as a solution so other community members can see it.
Cheers
I'm still failing to authenticate.
For background Using Alteryx vs 2022.3. SharePoint List tool works as expected as it has for us for a few years now.
New version SharePoint Input 2.4.2 fails to authenticate with the same client ID and Secret that works on previous tool
the below has already been created in the registry editor but still not working
"Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SRC\Alteryx
Value Name: PythonAllowHideEncryption
Value Data: true"
I faced this issue too with SharePoint. But the solution by the Alteryx Engineer is to use V2.2, and then, when you authenticate using "Provide Client ID and Secret, and Tenant ID", untick the option directly below it called "Use as service principal (app-only authentication)" - then it works.
Try it and see - if you're not using that, I'm sure there's the option to untick that option too.