Error: We couldn't connect to the data source. Please check your logon information. Here's the error message we got: The remote server returned an error: (401) Unauthorized.

When using the OData source with CRM 4.0 SP 14 and plugging the information into Excel the error message occurs. 

Error: We couldn't connect to the data source. Please check your logon information. Here's the error message we got: The remote server returned an error: (401) Unauthorized. 
This was a one-off environmental issue that occurred because the ODataQuery.ashx endpoint in IIS had been modified to enable Anonymous Authentication.  The resolution was to disable Anonymous Authentication on this endpoint. 

Steps to Duplicate

1. Go to Analysis > Information Library > search the affected query 
2. Select the arrows to the left of the query name > select get odata link > copy the link
3. Open a blank Microsoft Excel > select the data tab
4. Select From Other sources > From OData feed
5. Paste the link in the location of the data feed
6. Enter the log on credentials
7. Select Next > Receive error message

Environment

 Blackbaud CRM
 4.0
 4.0.178

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.