Skip to content

Commit 8a760d2

Browse files
Update Get users who create most flows.md
1 parent 001d838 commit 8a760d2

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

articles/English/PowerPlatform/Get users who create most flows.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
Introduction
1+
---
2+
layout: page
3+
title: 'Get users who create most flows'
4+
menubar: docs_menu
5+
image: 'https://unsplash.com/s/photos/random'
6+
show_sidebar: false
7+
---
8+
9+
10+
## Introduction
211

312

413
Managing your flows using PnP is fabulously easy. Faster to code than CSOM, more options than classic SharePoint Online Management Shell. Using PnP you can easily retrieve users who are creating flows and extract data statistics.
514

615

716

8-
Get Flow Properties
17+
## Get Flow Properties
918

1019
First, retrieve properties of the flow. Remember to use -AsAdmin switch. Otherwise you will get only your own flows.
1120
Connect-PnpOnline
@@ -25,7 +34,7 @@ $props.Creator | Group-Object -Property ObjectId -NoElement | Sort-Object -Desc
2534

2635

2736

28-
Get Azure Active Directory Users
37+
## Get Azure Active Directory Users
2938

3039

3140
Use Azure Active Directory ObjectId to obtain user's UPN or email address.
@@ -34,7 +43,7 @@ Get-MsolUser | where {$_.ObjectId -eq "f655dd56-ffea-45ad-aa45-775e4e0eeb9b"}
3443

3544

3645

37-
Full Script
46+
## Full Script
3847

3948
Connect-PnPOnline
4049
$environment = Get-PnPPowerPlatformEnvironment

0 commit comments

Comments
 (0)