> ## Documentation Index
> Fetch the complete documentation index at: https://docs.taqtile.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PowerApps Connector Setup

> Learn how to use Manifest Connect for real-time collaboration and remote assistance.

## About PowerApp Connectors

A connector is a proxy or a wrapper around an API that allows the underlying service to talk to Microsoft Power Automate, Microsoft Power Apps, and Azure Logic Apps. It provides a way for the users to connect their accounts and leverage a set of prebuilt actions and triggers to build their apps and workflows.

## Prerequisites

* Azure Subscription

* Azure Active Directory Tenant

* Azure Power Apps Subscription

* Once of the following roles to the client Azure account:
  * Global Administrator

  * Cloud Application Administrator

  * Application Administrator

  * Owner of the service principal

* The following roles within the Manifest Web Application:
  * Security Admin

## How to Set-up a PowerApp Connector

### Register App in Azure Active Directory

1. Sign into the Azure portal

2. In the Azure portal, search for and select Azure Active Directory

3. Select App registrations

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps1.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=fce12511507f73c1b8a473a2f0ed885a" alt="Power Apps1" width="600" height="300" data-path="images/PowerApps1.png" />

4. Select '+ New Registration'

5. Complete the App registration form:
   * Enter the desired user-facing display name, eg. 'Manifest'

   * Choose the scope for application authentication (most single tenant users will select the first option: Support Account types - select 'Accounts in this organizational directory only')

   * Redirect URI is (optional) - leave blank

   * Select Register

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps2.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=7b372130dede9b61b7fa62d1ed4c331d" alt="Power Apps2" width="600" height="338" data-path="images/PowerApps2.png" />

6. From the App registration screen, under "Owned applications" select the Manifest app you just created

7. Go to the Authentication tab

8. Select + Add a platform

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps3.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=f91b9dfbe45a5a3cf0fbdc13e2666b17" alt="Power Apps3" width="457" height="330" data-path="images/PowerApps3.png" />

9. On the Configure platform select Web

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps4.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=b464d0629b4f6651fcb0f09be0476cf4" alt="Power Apps4" width="291" height="344" data-path="images/PowerApps4.png" />

10. Enter the redirect URI of the application
    * domain.com/rest/dynamics/token

    * domain.com/rest/dynamics/auth

      **IMPT!** insert your full Manifest domain URL in place of domain.com eg: [https://mysubdomain.taqmanifest.com/rest/dynamics/token](https://mysubdomain.taqmanifest.com/rest/dynamics/token)

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps5.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=1226e3fb1a6d8c6ad9d4569214ee09a6" alt="Power Apps5" width="600" height="524" data-path="images/PowerApps5.png" />

11. Go to Certificates + secrets tab

12. Under Client secrets, select '+ New Client Secret' and add a client secret
    * Provide a description and expiration and a client secret will be automatically generated

    * IMPT! Copy the key once created and save this. You will need this to configure your AD in Manifest. Once you leave this screen you WILL NOTE be able to access this secret value again.

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps6.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=42c9917f427d23b8eaebeca759588456" alt="Power Apps6" width="494" height="204" data-path="images/PowerApps6.png" />

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps7.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=04d7038b8b37b6fbb1742321bcbf30a3" alt="Power Apps7" width="512" height="114" data-path="images/PowerApps7.png" />

13. Go to the 'API Permissions' tab

14. Select '+ Add a permission', The 'Request API permissions' window will fly out

15. Under Microsoft API's, select Microsoft Graph. You will be prompted to indicate what type of permissions your application requires.

16. Select Delegated Permissions and search for and then check off the following permissions:
    * User.read

    * Sites.Manage.All

    * Sites.Read.All

    * User.Read

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps8.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=dfe539323b63f42f145dfc5d428d8c9b" alt="Power Apps8" width="600" height="600" data-path="images/PowerApps8.png" />

17. Before logging out, be sure to make note of the following information required to configure your Active Directory in Manifest:
    * Application (client) ID: available under App registrations

    * Client Secret: create in step 12

    * Directory (tenant) ID: available on the Overview tab

### Configuring Manifest with your client Azure AD

1. Sign into the Manifest Client Portal

2. Select 'Client Settings' and go to the Active Directory Configurations tab

3. Select '+OAUTH PROVIDER'

4. Enter in the following information gathered when adding the Manifest application to your Azure AD tenant:
   * Client ID

   * Client Secret

   * Tenant ID

5. Select Update

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps9.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=9fb621ca4babec35a583de2d4973934c" alt="Power Apps9" width="512" height="289" data-path="images/PowerApps9.png" />

### Install Custom Connector

1. Login to Power Apps at [https://make.powerapps.com](https://make.powerapps.com)

2. Go to the custom connector page

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps10.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=b3cbca86ed76547fdaa9bd08ebf32cf7" alt="Power Apps10" width="199" height="720" data-path="images/PowerApps10.png" />

3. Go to Custom connector --> Import an Open API file

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps11.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=ca2a9729ede97911f2a02ebce885f192" alt="Power Apps11" width="720" height="316" data-path="images/PowerApps11.png" />

4. Download file below and save it into .json format

5. Import 'manifest\_powerapps.json' file

[manifest\_powerapps.json](images/Taqtile-APIPowerApps.txt)[Download](images/Taqtile-APIPowerApps.txt)

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps12.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=96e657f8e1dc949ee97c5dd17ec403fc" alt="Power Apps12" width="720" height="405" data-path="images/PowerApps12.png" />

6. Change host to Manifest Instance URI e.g. 'demo.taqmanifest.com' or 'apac.taqmanifest.com'

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps13.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=58623172cc18e0e2903f21d1a25d9d32" alt="Power Apps13" width="720" height="283" data-path="images/PowerApps13.png" />

7. Go to the next page 'Security'

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps14.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=e811f8f278d120b3fb7cd24e439d687b" alt="Power Apps14" width="720" height="351" data-path="images/PowerApps14.png" />

8. Set Client ID, Client Secret, Tenant ID to your specific credentials based on your Azure AD Tenant and App registration from the above steps. Set Resource URL to [https://graph.microsoft.com/](https://graph.microsoft.com/)

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps15.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=14abd1eccde9f423559bd43fede7d959" alt="Power Apps15" width="720" height="600" data-path="images/PowerApps15.png" />

9. Go to the next page 'Definition'

10. Select Create Connector

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps16.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=79e8532ca7b70450ac4f36dfbf8a56bd" alt="Power Apps16" width="973" height="59" data-path="images/PowerApps16.png" />

### Create PowerApps Connection

1. Go to Custom Connectors Page

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps17.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=ed0169a20f101c5037d5ad9ce6671924" alt="Power Apps17" width="249" height="720" data-path="images/PowerApps17.png" />

2. Click Plus button to create connection

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps18.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=add1914974b689f0010083cbe460bd51" alt="Power Apps18" width="720" height="48" data-path="images/PowerApps18.png" />

3. Click Create and then login using Azure AD

<img src="https://mintcdn.com/taqtile/Hb0HU1MWWgNQwrWy/images/PowerApps19.png?fit=max&auto=format&n=Hb0HU1MWWgNQwrWy&q=85&s=d52a95409209c7c0ba16c6f6acc23771" alt="Power Apps19" width="720" height="286" data-path="images/PowerApps19.png" />

4. Complete!
