Is there a way to "trust" an SharePoint Add-in/App after it has been uploaded to the app catalog? Or eventually before/when it is added.
The App is an SharePoint Add-in (.app file) and is hosted on Azure as a Web App. The installation prosess is: a Site Design triggers a Flow that activates a Function that executes a PowerShell script with Apply-PnPTemplate.
On Azure there is no connection to SharePoint so I guess this stops the installation.
When the App is added manually to a site there is a consent dialog popping up, and is there a way to avoid this? (with powershell or in the SharePoint admin center, or maybe something else)
Appreciate any thoughts and answers