Jump to content

Creating Microsoft Graph custom connector in Power Apps


Recommended Posts

Guest Jingyi2419
Posted

mediumvv2px400.jpg.352de389494f3de9ac268fcb1e061cf0.jpg

 

 

 

Credit- Welcome

 

To create a Microsoft Graph custom connector in Power Apps, let us get acquainted with some important terms first.

 

 

 

What are Power Apps?

 

  • Power Apps is a suite of apps, services, connectors, and a data platform, that provides a rapid development environment to build custom apps for business needs.
  • Using Power Apps, one can quickly build custom business apps that connect to data stored either in the underlying data platform (Microsoft Dataverse) or in various online and on-premises data sources (such as SharePoint, Microsoft 365, Dynamics 365, SQL Server).
  • One can create three types of apps using this service: canvas, model-driven, and portal.

 

 

 

What are Microsoft Graphs?

 

  • Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified programmability model that you can use to access the tremendous amount of data in Microsoft 365, Windows, and Enterprise Mobility + Security.
  • The Microsoft Graph API offers a single endpoint to provide access to rich, people-centric data and insights in the Microsoft cloud.
  • Microsoft Graph connectors work in the incoming direction, delivering data external to the Microsoft cloud into Microsoft Graph services and applications to enhance Microsoft 365 experiences such as Microsoft Search.
  • Microsoft Graph Data Connect provides a set of tools to streamline the secure and scalable delivery of Microsoft Graph data to popular Azure data stores. The cached data serve as data sources for Azure development tools that you can use to build intelligent applications.

 

mediumvv2px400.png.145535796dbc483836bf44ed4945c72b.png

 

 

 

Credits- https://docs.microsoft.com/en-us/graph/images/microsoft-graph.png

 

 

 

How can Power Apps bring positive changes to the education system?

 

  1. One can create learning games in a cohesive system. Students can choose which subject they want to work on. They’ll demonstrate that they’ve learned the skill in question, and collect points.
  2. One can create a variety of different apps that tackle different learning processes. If there are children with dyslexia, coping strategies for the disorder can be incorporated into the program.
  3. One can create a smart tracking system to keep up with student proficiency by flagging various questions and exercises with different proficiency tags when creating them.

 

mediumvv2px400.jpg.5991cb49c2c4ee53c7487fcd9253c796.jpg

 

 

 

Credits- https://pixnio.com/free-images/2017/05/31/2017-05-31-10-23-44-900x675.jpg

 

 

 

What are the uses of Microsoft Graph?

 

 

One can use Microsoft Graph to:

 

  • Look at the next meeting and prepare for it by providing profile information for attendees, as well as information about the latest documents they're working on, and people they're collaborating with.
  • Scans one’s calendar, suggests the best times for the next team meeting and subscribes to changes in the calendar, sends an alert when one spending too much time in meetings and provides recommendations for the ones one can miss or delegate based on how relevant the attendees are to you.
  • Help one sort out personal and work information on a phone. For example, by categorizing pictures that should go to your personal OneDrive and business receipts that should go to your OneDrive for Business and bringing custom business data into Microsoft Graph, indexing it to make it searchable along with data from Microsoft 365 services.

 

 

 

What are custom connectors?

 

 

Connectors help make it easier for app and flow makers to connect to other apps, data, and devices in the cloud in the following ways:

 

  • Connection is done in a consistent, repeatable way that is discoverable by makers.
  • Connectors have actions that allow makers to control when an operation is performed.
  • Connectors can have triggers that allow automation to start when the triggering event occurs.

 

 

 

Create a custom connector

 

 

mediumvv2px400.jpg.827f3715e700d903f3e9c934601a8d7a.jpg

 

 

 

Prerequisites

 

 

An account on Power Apps Portal.

 

 

 

Let's get started!

 

 

Step 1: Create a new solution.

Go to the Power Apps maker portal and make sure to be in the correct environment.

 

Select Solutions > + New solution and enter the following details.

 

Don't navigate away from this page after selecting 'Create'.

 

mediumvv2px400.png.ab0675b1e1b9c72a810eb3713a05f552.png

 

 

 

Step 2: Create a custom connector.

Go to the Power Apps admin portal and make sure that you are in the correct environment.

 

Select Solutions and then select to open the Microsoft Graph solution that you created in Task 1: Create a new solution.

 

Select + New > Automation > Custom connector.

 

Enter Microsoft graph for Connector name.

 

Scroll down, enter graph.microsoft.com for Host and /v1.0 for Base URL.

 

mediumvv2px400.png.423b8923870125b6e7a6246f5af740c7.png

 

 

 

Go to the Security option. Since we are just creating a custom connection, you can choose "No authentication" else any other type of authentication as per your needs.

 

mediumvv2px400.png.36515d33b7d9f89de47201df70991409.png

 

 

 

Go to the Definition option. You can leave it as it is and move to the Code (Preview) option.

 

mediumvv2px400.png.5cb3cb807f5a3511d04c2f69b867a36e.png

 

 

 

You can leave it as it is and click on "Create Connector".

 

mediumvv2px400.png.86d4133b2c0b764314c780ab25b485b2.png

 

 

 

Summary

 

 

Congratulations! You have created a Microsft Graph custom connector in Power App and can proceed to learn more in this area. Do leave your feedback in the comments below. Our next blog will be on how to call Microsoft Graph API in Power Automate using a custom connector. Stay tuned!

 

 

 

Next Steps

 

 

More info on overview of Microsoft Graph

 

List used for building a Microsoft connector

 

mediumvv2px400.png.e0f8f2d48ac57db6a1a15a8354d7a749.png

 

 

 

 

Credits- https://cdn.pixabay.com/photo/2014/07/15/19/55/thank-you-394180_1280.png

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...