No video

Power Apps Custom Connector using Microsoft Graph APIs

  Рет қаралды 11,628

Cloudatica

Cloudatica

Күн бұрын

Пікірлер: 10
@saveeshmply
@saveeshmply Жыл бұрын
very good detailing and execution. thanks for the video. :)
@lobbi5000
@lobbi5000 2 жыл бұрын
Really good video
@kmuralikrishna1582
@kmuralikrishna1582 3 жыл бұрын
Really appreciate.. But you know we need to get only particular user like when user search from text box that particular user details need to get instead of all users .. Can you help me...hope you wi reply
@cloudatica
@cloudatica 3 жыл бұрын
For that you just need to call the right Graph API with right parameters that meet your requirement (Microsoft Graph explorer and Graph API documentation are your friends for finding which API is best for you). For example, for getting a user detail by email of the user, I played around with a sample user email "MiriamG@M365x214355.onmicrosoft.com" by calling the Graph API as below: graph.microsoft.com/v1.0/users/MiriamG@M365x214355.onmicrosoft.com and, got following result: { "@odata.context": "graph.microsoft.com/v1.0/$metadata#users/$entity", "businessPhones": [ "+1 858 555 0109" ], "displayName": "Miriam Graham", "givenName": "Miriam", "jobTitle": "VP Marketing", "mail": "MiriamG@M365x214355.onmicrosoft.com", "mobilePhone": null, "officeLocation": "131/2103", "preferredLanguage": "en-US", "surname": "Graham", "userPrincipalName": "MiriamG@M365x214355.onmicrosoft.com", "id": "08fa38e4-cbfa-4488-94ed-c834da6539df" } Searching is similar but a bit different too. Searching means you have to search on some field and be ready to get multiple records as the result. For example, let's say you want to find users that have display name starting with "mir" in your email domain ending with "microsoft.com", you'll call Graph API as below: graph.microsoft.com/v1.0/users?$count=true&$search="displayName:mir"&$filter=endsWith(mail,'microsoft.com')&$orderBy=displayName&$select=id,displayName,mail and you'll the result like following: (this sample had only one user meeting this criterial but it could be multiple) { "@odata.context": "graph.microsoft.com/v1.0/$metadata#users(id,displayName,mail)", "@odata.count": 1, "value": [ { "@odata.id": "graph.microsoft.com/v2/dcd219dd-bc68-4b9b-bf0b-4a33a796be35/directoryObjects/08fa38e4-cbfa-4488-94ed-c834da6539df/Microsoft.DirectoryServices.User", "id": "08fa38e4-cbfa-4488-94ed-c834da6539df", "displayName": "Miriam Graham", "mail": "MiriamG@M365x214355.onmicrosoft.com" } ] } Now, for getting more details about the users in this list, you can call the API to get user detail by email. This link has more details on how to call users related Graph API for different scenarios with some good examples: docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http Hope this helps.
@kmuralikrishna1582
@kmuralikrishna1582 3 жыл бұрын
@@cloudatica really Thanks for reply. Question is it seems like every thing static output its not dynamic output. Example graph.microsoft.com/v1.0/users/myemail@ac.com Yes i am also can see all details if myemail . if i call this same (UpdateContext({UserProfile:PowerUserConnector.getmyuserdetails()}))i can get same details in powerapp, but question is if at all i want to get other user details, what code like above i can use....i can not get it seems how to get or GraphAPI to get User details.
@cloudatica
@cloudatica 3 жыл бұрын
@@kmuralikrishna1582 What error you are getting when you try to get detail for other user? It might be related to the permission you have. Can you tell me more about your requirement? For some of the requirements for getting other user detail in PoewrApps, you may not even need custom connector. If you are interested, you can also book your first complementary consultation session at cloudatica.com
@samareshbd
@samareshbd 3 жыл бұрын
We know Graph api retun 100 records in signle call. How can i handle paging? How Bearer token is adding to Header? If i want to use sharepoint as resource which will be different for different tenant how can i handle it?
@cloudatica
@cloudatica 3 жыл бұрын
Thanks for the question. Paging is supported in Graph API, you can use that in your call. Here is Microsoft documentation on that: docs.microsoft.com/en-us/graph/paging Also, can you share more details about your scenario that needs more than 100 records? If it's sharepoint, is out of box custom connector not meeting your requirement?
@So1dier
@So1dier Жыл бұрын
Hi, trying to use custom connector in Power Pages to access graph api. Doesn't seem to be a valid choice for Power Pages. Do you know if this is available for Power Pages, and if not what should be used instead? Thanks for the video.
@cloudatica
@cloudatica 11 ай бұрын
Unfortunately, Custom Connectors are only supported in Canvas Apps and are not available for Power Pages. For Power Pages, you will need to use Dataverse Dataflows.
Power Platform Service Account Vs. Service Principal
33:26
Daniel Christian
Рет қаралды 11 М.
Power Platform Custom Connectors (Power Apps, Power Automate)
23:49
Deepak Shrivastava
Рет қаралды 10 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 18 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 15 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 105 МЛН
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 28 МЛН
How to use Microsoft Graph API in Power Automate
12:11
Akash Sharma
Рет қаралды 10 М.
Managing with Microsoft Graph (and PowerShell)
33:21
John Savill's Technical Training
Рет қаралды 45 М.
PowerApps - Call custom APIs with custom connector instantly
12:23
M365 Tech Help
Рет қаралды 39 М.
How to Use Microsoft Graph APIs in Postman | Application Permission
18:42
Adaptive Card in Power Virtual Agent (Advanced concepts)
14:02
Cloudatica
Рет қаралды 1,5 М.
Creating Custom Connectors for Power Apps and Power Automate
2:10:23
Boston Office 365 User Group
Рет қаралды 695
GraphAPI Custom Connector
10:22
Microsoft Healthcare and Life Blog Videos
Рет қаралды 1,8 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 18 МЛН