I have a smart button "Run Webhook". It works great and it runs on the Home Main Tab (the first option). If I select one or many records on the grid it loops through them and works on all records. I used a webhook as it is calling a power automate flow.
My issue is, I want to limit the access to this button to a security role, or on the view name. Either would work.
I have been going through everything I can find, I cannot seem to get anything to work.
I think it is because it has to run on the Home Main Tab(the first option).
Or maybe because it is a smart button.
Does anyone have a sample or a link that works.
I am using Dynamics 365 online.