Null result set for change table using PowerBI to ServiceNow

Maria20
Tera Guru

Hello SN Community,

 

We have been trying to connect PowerBI to ServiceNow using a REST API to specific tables.  We followed directions accurately to create a user in ServiceNow called power.now with read permissions to certain tables.  However, we are still getting null datasets returned in PowerBI for the change table (change_request).  However, when we connect to the CMDB table, we get results in the dataset.

 

If we use a ServiceNow itil user account to connect to the Change table though, it works like a charm. 

 

I'm thinking that something permission-wise is missing with respect to the power.now user and the change_request table.

 

Any suggestions?

1 ACCEPTED SOLUTION

I agree about ITIL being overkill. Can you try changing up your custom role so that it is granting read access rather than report view? Also in regards to the sn_write_change role, apparently that is part of a separate roles plugin that you can install? My organization doesn't have that role either. (You might want to look into installing the plugin and using one of those provided roles, but I would check to make sure you don't run into license issues first)

View solution in original post

11 REPLIES 11

Jon Durden
Tera Expert

Out of box, an ITIL role is required for read access to the change request table. I'm guessing that your power.now user does not have access to ITIL. There are a few approaches you could take, but one is you might consider creating a custom read ACL role on the change table and assigning that to your power user.

Minimum role is not ITIL, is sn_write_change role.  ITIL will a more access of tables.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hello AG,

 

Thanks for the response.  Unfortunately, I cannot locate the sn_write_change role that you reference...

Hi @Maria20 

 

Sorry,

 

AGLearnNGrow_0-1709571239237.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************