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

Flow cannot connect to ServiceNow

Tried using a few of the ServiceNow flow examples, but can't get past the following error when attempting to connect:

 

"Please check your account info and/or permissions and try again."

 

Not helpful.  I can't find out what's expected for the Connection Name and Instance Name parameters.  I've tried the ServiceNow full instance url as well as just the name, and neither works.  Connection Name isn't even listed in the online docs (https://docs.microsoft.com/en-us/connectors/service-now/#creating-a-connection).

 

Any ideas?  Working examples?  Sure would be nice if the docs went into more detail...

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Re: Flow cannot connect to ServiceNow

Hi @RyderMC . Thank you for posting thie issue relating to ServiceNow.

You say "I can't find out what's expected for the Connection Name and Instance Name parameters"

Below is what I have did and it works:

Firtsly I went to https://developer.servicenow.com and created a dev instance.

I then captured the details from below, yours will be in the same format regardless of dev or production.Capture-210.png

I connected to Servicenow from Flow using the following.Capture-212.png

 

The connection name I just named it that, the instance name came from the Snow URL.

I then created a test incident in servicenow, I captured it's sys_id and did the belowCapture-211.png

It works.Capture-213.png

In summary.

Call your connection whatever you want, just get the instance name correct

https://<Instance Name>.service-now.com/nav_to.do?uri=

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

9 REPLIES 9
Highlighted
Resident Rockstar
Resident Rockstar

Re: Flow cannot connect to ServiceNow

Hi @RyderMC . Thank you for posting thie issue relating to ServiceNow.

You say "I can't find out what's expected for the Connection Name and Instance Name parameters"

Below is what I have did and it works:

Firtsly I went to https://developer.servicenow.com and created a dev instance.

I then captured the details from below, yours will be in the same format regardless of dev or production.Capture-210.png

I connected to Servicenow from Flow using the following.Capture-212.png

 

The connection name I just named it that, the instance name came from the Snow URL.

I then created a test incident in servicenow, I captured it's sys_id and did the belowCapture-211.png

It works.Capture-213.png

In summary.

Call your connection whatever you want, just get the instance name correct

https://<Instance Name>.service-now.com/nav_to.do?uri=

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

Highlighted
Advocate II
Advocate II

Re: Flow cannot connect to ServiceNow

(logged in wrong to reply)
Highlighted
Frequent Visitor

Re: Flow cannot connect to ServiceNow

Thanks. Turns out there was no problem with what I was doing on the Flow side; another ServiceNow role had to be added so the user could create records. In this case, we used the ITIL role.

Highlighted
Resident Rockstar
Resident Rockstar

Re: Flow cannot connect to ServiceNow

Hi @RyderMC 

I was looking at servicenow permissions in the servicenow docs too, so glad you have got connected anyway.

Happy Flowing!

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Highlighted
New Member

Re: Flow cannot connect to ServiceNow

Do i need any special permisson on ServiceNow to extract data, like API access. Currently when i try to validate my credential, it keeps popping up with Test Failed. I want to publish change request and incident from ServiceNow on to Microsoft Team and using one of the flow template but failing to validate my connection to ServiceNow.

Thanks

Highlighted
Regular Visitor

Re: Flow cannot connect to ServiceNow

@Thakks I am facing the same issue, can you please let me know if you found the solution for this.

Highlighted
New Member

Re: Flow cannot connect to ServiceNow

Nope no luck, i assume probably need some permission on the ServiceNow to query the api, so for now parked until i know what i am looking in to...

Highlighted
Regular Visitor

Re: Flow cannot connect to ServiceNow

@Thakks , Found a solution for this, thought of updating you since it might help:

For accessing APIs from ServiceNow need to provide the role:web_service_admin in dev instance

Highlighted
Microsoft
Microsoft

Re: Flow cannot connect to ServiceNow

How to connect with azure ad.

I usually use azure ad to login to servicenow. But when I use flow to connect to servicenow I don't see option to connect via AD authentication.

@AlanPs1 

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (11,026)