AI agent is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2026 03:55 AM
I have created a AI agent , that is working fine in the first instance , while moving it to the second instance , it is working fine , while I testing it inside the ai agent , when I am trying to access it in the ESC portal Now Assist , it shows you don't have access, I have attached the screen shots below , In the data access , it has snc_internal role as same in the instances.
Help me solve this issue .
Thanks in Advance
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2026 04:06 AM
Hi @sriramsin
Resolution
1. Create a new AI user with a valid user ID.
2. Assign the required roles (e.g., admin and sn_aia_admin) to the new AI user.
3. Configure the Define data access setting in the AI Agent to use the new AI user with the valid user ID and assigned roles.
4. Verify that the AI Agent operates successfully with the new configuration.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
how do we know which AI agent to amend ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2026 04:08 AM
Hi @sriramsin
This KB also Have a look.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
(1) You AI Agent is Running Using Dynamic User Concept or Its Static AI User which is used - AI Agent Run As <This Static User>?
(2) In case of Dynamic User Are you Using Role Masking?
(3) If you AICT in you env - Please check which all Table This AI Agent reads/Write?
(4) Try Increasing the Permission for testing and see?
(5) Check Agent Execution Log for Access denial- sys_generative_ai_Log
Regards
RP