Copy of Canvas App Widgets
Data displayed by the Canvas App will be displayed in the context of the current user (using the current users permissions)
Embedding a Canvas App in ASM
Configure ASM
Create a new Client under Login Settings
Enable the client
Create a Secret this will be used for the connection from Power Apps
Add a Redirect URI copied from the Power Apps Custom Connector after it is saved
Enable Azure Authentication You need to create an App Registration in your Azure tenancy A client secret is created in Azure and copied to ASM The Redirect URI is created in ASM after the new client is saved and is copied to the App Registration
Ensure your ASM user has your Azure AD user id listed under External ID’s
Create a Custom Connector in Power Apps
Add a Custom Connector
Your ASM instance includes an Open API 3.0 definition but, at the time of writing, the Custom Connectors only support Open API 2.0. Therefore you should create a Custom Connector from blank
Data > Custom Connectors > Create from blank
Complete General Information
Field | Value |
Host | company-name.alembacloud.com |
Base URL | /production |
Configure Security using Generic OAuth 2
Field | Value |
Client Id | Create a new Client in ASM and copy the Client Id from there |
Client Secret | Create a secret (like a password) for the client in ASM and copy that secret to this field |
Authorization URL | https://company-name.alembacloud.com/production/alemba.identity.server/connect/authorize |
Token URL | https://company-name.alembacloud.com/production/alemba.identity.server/connect/token |
Refresh URL | https://company-name.alembacloud.com/production/alemba.identity.server/connect/token |
Scope | offline_access openid profile email session-type:Analyst |
Redirect URL | Copy this value and add it to the allowed redirect URL’s in the ASM client |
Create Connector
Test
Click New Connection and then Create
Login when prompted
You will now be able to use the Custom Connector in your Canvas App
Create a Canvas App
Share the app with others
Copy the Web Link from the Details page for your app
Create a Microsoft Canvas App Widget in ASM
Copy the web link from your canvas app to the Canvas App URL in the designer
Set a maximum height and width for the canvas app widget