Skip to main content
Solved

Sharepoint data source 'Authorize OAuth' not working

  • November 23, 2023
  • 3 replies
  • 100 views

Forum|alt.badge.img+2

When configuring the CData Microsoft Sharepoint (23.0.8669) provider for extracting a Sharepoint List, we encounter a problem with the button ‘Authorize OAuth’. We are configuring the data source in ODX Server 20.10.40 and TX version is also 20.10.40.

The following settings are configured:

According to the CData documentation AzureAD should be used as Auth Scheme to leverage OAuth to authenticate, we also use this exact same setting and the same app registration for another data source using the Excel Online provider for which all is ok.

However, when using ‘Authorize OAuth’ with the Sharepoint provided, we get the following error:

What could be causing this? Changing the file or location for OAuth does not matter at all, we have also tried other versions of the provider but they all give this error. Also, changing Initiate OAuth to ‘REFRESH’ does not have an effect.

Best answer by Christian Hauggaard

Hi @KajEmergo 

I would recommend using Method 2 in the following guide

 

I also got managed to retrieve SP list data using AzureAD auth scheme with the following data source settings:

 

View original
Did this topic help you find an answer to your question?

3 replies

Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi @KajEmergo 

I would recommend using Method 2 in the following guide

 

I also got managed to retrieve SP list data using AzureAD auth scheme with the following data source settings:

 


Forum|alt.badge.img+2
  • Author
  • Contributor
  • 52 replies
  • November 24, 2023

Hi @Christian Hauggaard,

This actually made it work! No clue this setting would influence the OAuth flow, the error doesn't really point towards that either. Any idea what this setting does and why it is nog available on the Excel Online connector for example?

 

 


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

@KajEmergo I have asked Cdata about this. The same settings seem to work for the Excel Online connector on my end

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings