Is there a way to use the triggerFlow action of a site script with delegated permissions?

Brass Contributor

The triggerFlow action of a SharePoint site script allows to call a PowerAutomate or a Logic App. However, it seems there is no way to retrieve the credentials of the user who actually run the site script and all the subsequent calls must use application permissions (the call seems to be anonymous, no authorization headers). Application permissions are not a option in my context due to security reasons. So is there any way to use this action with delegated permissions (not a service account connection shared in Power Automate) for the curent use who is running the script?

0 Replies