cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RichardBrowne80
Frequent Visitor

Issue with Basic Credentials when calling an API

Hi.

Im trying to call an API for our local Service Now Instance to bring data into Power BI.

I  have the API query, and a Username and Password which has the right level of access.

I can call the API fine (using the Username and Password) in a Browser or using a tool like Postman - and bring back and see the data

However when trying to connect in Power BI i get the error below

Im using the Web Connector and Basic credentials (although ive tried all others and they don't work either)

RichardBrowne80_1-1631887725049.png

 

 

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @RichardBrowne80 ,

 

Here's a link about how to connect an OData feed, hope to help you:

https://kb.blackbaud.com/knowledgebase/Article/111459

 

Username: Email Address you use to acess Altru or CRM

Password: Altru or CRM password.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

RichardBrowne80
Frequent Visitor

Thanks @lbendlin - really greatful for the reply,  yes understand the need to always clear the global permissions.

However anonymous doesnt work either.

The username and password arent linked to my companies AD>  It is a specific webservice account weve created for this purpose.




lbendlin
Super User
Super User

@RichardBrowne80 

That depends on how deeply integrated Service-Now is with your company's AD. If you specify username and password as part of the API call then you need to use Anonymous .

 

NOTE:  Once you have tried an authentication method that choice will be recorded in the global settings. if it fails then it will also prevent you from using an alternative method. During testing you need to always clear global permissions before switching methods.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.