ServiceNow connector PowerApps

djordjeg
Giga Contributor

Hi, 

I am having troubles creating a new connection to ServiceNow instance from PowerApps, using Microsoft ServiceNow premium connector. I am trying to connect with ServiceNow admin account, and I am getting getting authentication error.

here is json:

{
"error": {
"detail": "Required to provide Auth information",
"message": "User Not Authenticated"
},
"status": "failure"
}
 
I tried all that I found on this forum without success, including this: 
https://community.servicenow.com/community?id=community_question&sys_id=55365af5db16d454f21f5583ca96196a&view_source=searchResult
 
Any idea?

Thanks,

Goran

1 ACCEPTED SOLUTION

Hi Goran, 

Yes, all ServiceNow integration should use the local account with required role only. 

Local Account or Service Account or Local User all are referring the same.

Please ensure you are following some naming pattern for service accounts [ we are using "svc_" prefix ] and grant only minimum required role [ no admin role ]

you can create svc_powerapp  and grant itil role for testing.

Check, what data/table the PowerApp is looking for based on that, grant access [ role ].

 

Thanks,

Ashish

Please mark correct and helpful for others if it helps you

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

View solution in original post

4 REPLIES 4

AshishKM
Kilo Patron
Kilo Patron

Is this local service account with admin role and you can connect ( login )  ServiceNow instance via browser?

Refer : service account or location account or local user [ means password saved in ServiceNow not an AD based account]

 

Thanks,

Ashish

Please mark correct and helpful for others if it helps you

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Thank you Ashish. We are using SSO, so this is a AD based account. Do I have to use ServiceNow local Admin account for this?

Goran

Hi Goran, 

Yes, all ServiceNow integration should use the local account with required role only. 

Local Account or Service Account or Local User all are referring the same.

Please ensure you are following some naming pattern for service accounts [ we are using "svc_" prefix ] and grant only minimum required role [ no admin role ]

you can create svc_powerapp  and grant itil role for testing.

Check, what data/table the PowerApp is looking for based on that, grant access [ role ].

 

Thanks,

Ashish

Please mark correct and helpful for others if it helps you

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Will try. Thank you Ashish!!