
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 06:47 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 08:54 AM
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)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 12:04 PM
Hello again, AG.
I do not have the sn_write_change role in my instance. Looks like I might be missing the "ITSM Roles plugin"...maybe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 12:09 PM
Hi @Maria20
Yes, it can be the reason. Install that plugin and try.
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]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 06:45 AM
Thank-you again, AG!
We do not have the ITSM Roles plug-in but I'm checking with our licensing to find out if we can install it. It will probably work after that so I appreciate the response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 07:01 AM
Thanks Maria for update. A new learning from this issue.
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]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 08:50 AM
Hello Jon,
Thanks for the response...
The itil role seems a bit of overkill for just wanted to grant access to read a table, just my opinion.
I have created a custom role and granted the power.now user the following ACL to the change table within that role:
I thought that would be sufficient because it is the same setup I have for the CMDB table (which is returning date correctly). However, it is not working.