AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
CRM
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 20.01.2022, 08:16   #1  
Blog bot is offline
Blog bot
Участник
 
24,873 / 825 (77) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1424: The user does not have sufficient access right to run flow with custom connector
Источник: https://crmtipoftheday.com/1424/the-...stom-connector
==============

I’ve tried all the right things:
  1. Created, deployed, and configured custom connector into the target environment before importing the solution that uses the connector. All tests pass.
  2. Created a manual Power Automate flow as part of the solution.
  3. Shared the flow with the user (should not need to for the solution flows but just in case)
  4. Ensured that the flow runtime permissions are set correctly (correct use of run-only permissions)
  5. Shared custom connector with the user (should not need to but just in case)
And yet, when the said user tried to run the flow they kept getting this error message

This information seems to be helpful but then it generates more questions than answers:
  • Operation on entity with id XXX. Is that a record with that id or id of the actual entity/table?
  • What entity/table are we talking about here?
  • The flow uses unspecified list of apps – what is the relevance of this?
Long story short: user was missing read privileges on Connector table (and id mentioned is the id of the entity/table not of the record in the table). There are two Connector tables on the most instances I’ve seen and, just like the USB, you are going to get the first one wrong. There is an easier solution to the problem: assign Basic User role to the user. One of the permissions it includes is that very permission to read custom connectors (what did you think is in the Connector table?!).

Cover image by ds_30



Источник: https://crmtipoftheday.com/1424/the-...stom-connector
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crmtipoftheday: Tip #1407: How to secure Power Apps portal from making the news Blog bot Dynamics CRM: Blogs 0 24.08.2021 18:13
crmtipoftheday: Tip #1260: Use App Access Roles Blog bot Dynamics CRM: Blogs 0 03.05.2019 09:11
crmtipoftheday: Tip #1196: Flow does not contain data Blog bot Dynamics CRM: Blogs 0 21.11.2018 14:11
crmtipoftheday: Tip #1177: Use the CDS connector when you go with the flow Blog bot Dynamics CRM: Blogs 0 11.10.2018 15:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 10 Blog bot Dynamics CRM: Blogs 0 17.08.2012 03:27
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:51.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.