SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
April, 26. – 28. 2021
MICROSOFT 365 VIRTUAL MARATHON 2021
m365virtualmarathon.com #M365VM
Power Automate Techniques that “Saved our Bacon”
Sandra Mahan
Tom Duff
MICROSOFT 365 VIRTUAL MARATHON 2021 SPONSORS
Power Automate
Techniques that
“Saved our Bacon”
Tom Duff and Sandra Mahan
Your Waiters
Tom Duff Sandra Mahan
SharePoint / Microsoft 365 Administrators
Set the Table
Important housekeeping items to
keep everything running smoothly
Create a Service Account
• Password that doesn't expire
• Allows you to see all your flows in one place
• Flow won't quit running if the person leaves
• Use the service account for the connections
(email, SharePoint list updates)
Update Flow Details
Add a description for the flow
• List the business contact, date it was created, and who
created it (especially important if using service account
to know who supports the flow)
Use a naming conventions for your flows
• Site name, List/Library Name , Flow Purpose
Rename Actions/Steps
• Retain the action names (optional)
• Indicate what the step does
• Add commenting for more complicated steps
Beverage
Update a single column in a
SharePoint list
Chef Tom Riha: https://tomriha.com/update-single-sharepoint-column-in-power-automate-with-http-request/
Send an HTTP Request
to SharePoint
Uri:
_api/web/lists/GetByTitle('<ListName>')/items(<ItemID>)/validateUpdat
eListItem
Body:
{
"formValues":[
{
"FieldName": "<FieldToUpdate>",
"FieldValue": "<ValueToUpdate>"
},
{
"FieldName": "<FieldToUpdate2>",
"FieldValue": "<ValueToUpdate2>"
}
]
}
Potatoes
Keep things running smoothly
Error Handling
Build a notification when a Power Automate flow fails
Message:
• Expression: workflow()['tags']['flowDisplayName']
• Full Path
Monitor and Audit
• Cloud flow activity
• Quickly jump to flow failures
• Power Automate Admin center
• Check for errors on a weekly basis and reach out to the creator
to possibly resolve or delete
• https://admin.powerplatform.microsoft.com/
Eggs
Avoid the infinite loop
Chef Scott Shearer: https://o365scott.blog/2019/12/18/stopping-infinite-loops-when-updating-sharepoint-list-items/
Trigger Conditions
• Don’t waste flow runs
• Number of API requests / 24 hours based on licensing:
https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-
allocations#microsoft-power-platform-requests-allocations-based-on-licenses
• Difficult to figure out if the flow actually did anything if
they run every time with no actions
• Allows you to avoid runs entirely instead of using
condition actions to check and terminate
Toast
Keep your hyperlinks in an email
from becoming inedible…
HTML Link in Email
• Manually create your link with your <a> tag (use single
quotes around the actual link)
• Add a <div> at the top and a </div> at the bottom to
keep the email from going back to WYSIWYG mode (and
corrupting the link)
Pancakes
Multi-Value Choice Fields
Chef Laura Rogers: https://wonderlaura.com/2020/09/01/flow-update-multi-select-column/
Multi-Value Choice Fields
• You’d think you could update a multi-value field like the
illustration on the left… and you’d be wrong.
• Instead, you have to format each of the values in the
multi-value field into an Array variable, and then put
the array variable into the field in the Update action.
Multi-Value Choice Fields
• You need to create your Array variable.
• For each of the values in the multi-value field (Apply to
each action), add an element using brackets to separate
each value.
Multi-Value Choice Fields
• Once all the elements are loaded into the Array
variable, collapse the field in the Update Item action
and add the Array variable to the field.
Again, I *highly* stress that you check out Laura Roger’s
post on this topic:
https://wonderlaura.com/2020/09/01/flow-update-multi-
select-column/
Cereal and Fruit
How to get a number of items to
process in your flow by using the
Get Items action
Chef Andrew Chomik: https://blog.ion.works/2019/03/17/common-odata-filters-for-microsoft-flow-a-reference-chart-for-users-of-all-kinds/
Filter Queries
• Filter Query – create a query to select all the items you
want (Status is equal to ‘Notifications In Process’ and
First Notification Date is equal to today)
• Order By – sort the results (Title asc, Date desc)
• Top Count – it says “Default = all”… that’s a lie. 100 is
the default, and the most you can have is 5000.
• Limit Columns by View – uses the default view of the
list. However, if you exceed thresholds in the default
view, you’ll need to create a different view with only
the fields you need and use that view here.
BACON!!!!
How to manipulate permissions
on SharePoint list items...
(Honestly, this is where I miss SharePoint Designer the
most...)
Restoring Inheritance
• Necessary if your list item already has unique
permissions, and it must be the first thing you do.
• URI of API call:
_api/lists/getByTitle('<list>')/items(<item ID>)/resetroleinheritance()
Breaking Inheritance
• URI of API call:
_api/lists/getByTitle('<list>')/items(<item
ID>)/breakroleinheritance(copyRoleAssignments=false,clearSubscopes=
true)
• copyRoleAssigments – true to copy over
existing permissions, false to start with no permissions
• clearSubscopes – true to set any child items to
inherit from this item, false to leave the child items
alone
Group Permissions
• getByName – the name of the SharePoint permission
group you want to use
• URI of API call:
/_api/web/SiteGroups/GetByName('<name of permission group>')
Group Permissions
• d.id – this grabs the ID of the SharePoint permission
group from the previous step.
• Enter the following in the Expressions tab:
body('Send_an_HTTP_request_to_xxxx_Owners')['d']['id']
Group Permissions
• getByTitle – the name of the list where the item resides
• items – the item ID
• addroleassignment – the ID from the previous step
• roledefid – the value of the permission level, such as
Full Control (more on that in a couple of slides)
Person Permissions
• getByEmail – the email address of the person who will
be added to the permissions (the Outputs action will be
explained in a later slide)
• URI of API call:
/_api/web/SiteUsers/GetByEmail('<user email address>')
Person Permissions
• d.id – this grabs the ID of the person from the previous
step.
• Enter the following in the Expressions tab:
body('Send_an_HTTP_request_to_Employee_ID_Email')['d']['id']
Person Permissions
• getByTitle – the name of the list where the item resides
• items – the item ID
• addroleassignment – the ID from the previous step
• roledefid – the value of the permission level, such as
Full Control (more on that in a couple of slides)
How to find the
roledefinition values
• Type the following into your browser:
https://domain/sites/sitename/_api/web/roledefinitions
• All the role definition values show up in the XML page…
you just have to find them. ☺
• Default Role Definitions:
Role Definition Name Role Definition Id
Full Control 1073741829
Design 1073741828
Edit 1073741830
Contribute 1073741827
Read 1073741826
Limited Access 1073741825
View Only 1073741924
Chef Md. Tahmidul Abedin: https://www.c-sharpcorner.com/article/get-sharepoint-role-definition-ids/
Use an XML format tool
• <d.Name> - the name of the permission level
• <d.Id> - the numeric value of the permission level
• I recommend always looking them up…
Be sure to tip your waiters
Tom Duff
• Twitter - @duffbert
• Website - https://oneminuteofficemagic.com
• LinkedIn - https://www.linkedin.com/in/thomasduff/
• Email - duffbert@gmail.com
Sandra Mahan
• Twitter - @smahan14
• LinkedIn - https://www.linkedin.com/in/sharepointsandra/
• Email – smahan14@gmail.com
• Questions and Answers
• Complete session feedback -
http://bit.ly/M365VM21Feedback
Bacon Bits
Leftovers....
Accommodating apostrophes
in an email address
• Apostrophes in email addresses are technically invalid,
but they will still route.
• However, it completely messes up the getByEmail REST
API call when trying to set permissions.
• To work around this, you need to “escape” the single
apostrophe in a Compose action
• Use the following Expression:
replace(body('Get_user_profile_(V2)')?['Mail'], '''', '''''')
What if the person is new?
This adds the person to a SharePoint permission group in
the site so that their ID can be found in the Site Collection
User List.
URI of API call:
_api/web/SiteGroups/GetByName('Preload Users')/users
Body of API call:
{
"__metadata": {
"type":"SP.User"
},
"LoginName":"i:0#.f|membership|bob@test.com"
}

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST APIIntroduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST APIRob Windsor
 
Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Thinqloud
 
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...Nik Patel
 
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...SPTechCon
 
Office 2013 loves web developers slide
Office 2013 loves web developers   slideOffice 2013 loves web developers   slide
Office 2013 loves web developers slideFabio Franzini
 
SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!Benjamin Niaulin
 
Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Eric Overfield
 
SharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelSharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelG. Scott Singleton
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondKanwal Khipple
 
Intro to SharePoint Web Services
Intro to SharePoint Web ServicesIntro to SharePoint Web Services
Intro to SharePoint Web ServicesMark Rackley
 
Understanding SharePoint site structure what's inside
Understanding SharePoint site structure  what's insideUnderstanding SharePoint site structure  what's inside
Understanding SharePoint site structure what's insideBenjamin Niaulin
 
SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)Kashif Imran
 
Share Point
Share PointShare Point
Share Pointjimbelo
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Thomas Daly
 
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsA Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsEric Shupps
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Benjamin Niaulin
 
Understanding and programming the SharePoint REST API
Understanding and programming the SharePoint REST APIUnderstanding and programming the SharePoint REST API
Understanding and programming the SharePoint REST APIChris Beckett
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSanjay Patel
 

Was ist angesagt? (20)

Introduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST APIIntroduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST API
 
Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks
 
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
Designing Corporate News Application Using SharePoint 2013 Web Content Manage...
 
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
 
Office 2013 loves web developers slide
Office 2013 loves web developers   slideOffice 2013 loves web developers   slide
Office 2013 loves web developers slide
 
SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!SharePoint 2013 Content search web part - Get it all in one place and style it!
SharePoint 2013 Content search web part - Get it all in one place and style it!
 
Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365
 
SharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelSharePoint 2010 Client Object Model
SharePoint 2010 Client Object Model
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday Redmond
 
Intro to SharePoint Web Services
Intro to SharePoint Web ServicesIntro to SharePoint Web Services
Intro to SharePoint Web Services
 
Understanding SharePoint site structure what's inside
Understanding SharePoint site structure  what's insideUnderstanding SharePoint site structure  what's inside
Understanding SharePoint site structure what's inside
 
SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)SharePoint Client Object Model (CSOM)
SharePoint Client Object Model (CSOM)
 
Share Point
Share PointShare Point
Share Point
 
Cloud holiday shopping guide
Cloud holiday shopping guideCloud holiday shopping guide
Cloud holiday shopping guide
 
SharePoint Tools Concepts
SharePoint Tools ConceptsSharePoint Tools Concepts
SharePoint Tools Concepts
 
Developing Branding Solutions for 2013
Developing Branding Solutions for 2013Developing Branding Solutions for 2013
Developing Branding Solutions for 2013
 
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsA Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
 
Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?Exploring the New Search in SharePoint 2013 - What can you do now?
Exploring the New Search in SharePoint 2013 - What can you do now?
 
Understanding and programming the SharePoint REST API
Understanding and programming the SharePoint REST APIUnderstanding and programming the SharePoint REST API
Understanding and programming the SharePoint REST API
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
 

Ähnlich wie Power Automate Techniques that "Save

Using Rails to Create an Enterprise App: A Real-Life Case Study
Using Rails to Create an Enterprise App: A Real-Life Case StudyUsing Rails to Create an Enterprise App: A Real-Life Case Study
Using Rails to Create an Enterprise App: A Real-Life Case StudyDavid Keener
 
User Profiles: I Didn't Know I Could Do That!! @SPSHI
User Profiles:  I Didn't Know I Could Do That!! @SPSHIUser Profiles:  I Didn't Know I Could Do That!! @SPSHI
User Profiles: I Didn't Know I Could Do That!! @SPSHIStacy Deere
 
Synapseindia reviews sharing intro cakephp
Synapseindia reviews sharing intro cakephpSynapseindia reviews sharing intro cakephp
Synapseindia reviews sharing intro cakephpSynapseindiaComplaints
 
WT19: Salesforce Tips, Tricks and Tools
WT19: Salesforce Tips, Tricks and ToolsWT19: Salesforce Tips, Tricks and Tools
WT19: Salesforce Tips, Tricks and ToolsSalesforce Admins
 
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...Anna Loughnan Colquhoun
 
How Clean is your Database? Data Scrubbing for all Skill Sets
How Clean is your Database? Data Scrubbing for all Skill SetsHow Clean is your Database? Data Scrubbing for all Skill Sets
How Clean is your Database? Data Scrubbing for all Skill SetsChad Petrovay
 
Staying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPStaying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPOscar Merida
 
The Humble & Mighty SharePoint URL Query String
The Humble & Mighty SharePoint URL Query StringThe Humble & Mighty SharePoint URL Query String
The Humble & Mighty SharePoint URL Query Stringpatrickdoran
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownMark Rackley
 
REST APIs in Laravel 101
REST APIs in Laravel 101REST APIs in Laravel 101
REST APIs in Laravel 101Samantha Geitz
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery GuideMark Rackley
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConSPTechCon
 
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...Christopher Adams
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointSPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointMark Rackley
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataPace Integration
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-bizDrew Madelung
 

Ähnlich wie Power Automate Techniques that "Save (20)

Using Rails to Create an Enterprise App: A Real-Life Case Study
Using Rails to Create an Enterprise App: A Real-Life Case StudyUsing Rails to Create an Enterprise App: A Real-Life Case Study
Using Rails to Create an Enterprise App: A Real-Life Case Study
 
PHP FUNCTIONS
PHP FUNCTIONSPHP FUNCTIONS
PHP FUNCTIONS
 
User Profiles: I Didn't Know I Could Do That!! @SPSHI
User Profiles:  I Didn't Know I Could Do That!! @SPSHIUser Profiles:  I Didn't Know I Could Do That!! @SPSHI
User Profiles: I Didn't Know I Could Do That!! @SPSHI
 
Synapseindia reviews sharing intro cakephp
Synapseindia reviews sharing intro cakephpSynapseindia reviews sharing intro cakephp
Synapseindia reviews sharing intro cakephp
 
WT19: Salesforce Tips, Tricks and Tools
WT19: Salesforce Tips, Tricks and ToolsWT19: Salesforce Tips, Tricks and Tools
WT19: Salesforce Tips, Tricks and Tools
 
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...
Luke Cushanick Admin Tips and Tricks for Salesforce Trailblazer Community Chr...
 
How Clean is your Database? Data Scrubbing for all Skill Sets
How Clean is your Database? Data Scrubbing for all Skill SetsHow Clean is your Database? Data Scrubbing for all Skill Sets
How Clean is your Database? Data Scrubbing for all Skill Sets
 
Staying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPStaying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHP
 
The Humble & Mighty SharePoint URL Query String
The Humble & Mighty SharePoint URL Query StringThe Humble & Mighty SharePoint URL Query String
The Humble & Mighty SharePoint URL Query String
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have known
 
REST APIs in Laravel 101
REST APIs in Laravel 101REST APIs in Laravel 101
REST APIs in Laravel 101
 
Rails 4.0
Rails 4.0Rails 4.0
Rails 4.0
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
 
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechConThe SharePoint and jQuery Guide by Mark Rackley - SPTechCon
The SharePoint and jQuery Guide by Mark Rackley - SPTechCon
 
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...
A Related Matter: Optimizing your webapp by using django-debug-toolbar, selec...
 
Refactoring
RefactoringRefactoring
Refactoring
 
ApacheCon 2005
ApacheCon 2005ApacheCon 2005
ApacheCon 2005
 
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePointSPTechCon Boston 2015 - Utilizing jQuery in SharePoint
SPTechCon Boston 2015 - Utilizing jQuery in SharePoint
 
MuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and ODataMuleSoft London Community February 2020 - MuleSoft and OData
MuleSoft London Community February 2020 - MuleSoft and OData
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-biz
 

Mehr von Thomas Duff

20 Microsoft 365 Productivity Tips - Minnesota SharePoint User Group
20 Microsoft 365 Productivity Tips -  Minnesota SharePoint User Group20 Microsoft 365 Productivity Tips -  Minnesota SharePoint User Group
20 Microsoft 365 Productivity Tips - Minnesota SharePoint User GroupThomas Duff
 
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/1420 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14Thomas Duff
 
Game of SharePoint Migrations: Winter Is Coming
Game of SharePoint Migrations: Winter Is ComingGame of SharePoint Migrations: Winter Is Coming
Game of SharePoint Migrations: Winter Is ComingThomas Duff
 
The Game of SharePoint Migrations: Winter Is Coming
The Game of SharePoint Migrations: Winter Is ComingThe Game of SharePoint Migrations: Winter Is Coming
The Game of SharePoint Migrations: Winter Is ComingThomas Duff
 
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...Thomas Duff
 
Office 365 Productivity Tips Minneapolis Mayhem SPSTC
Office 365 Productivity Tips Minneapolis Mayhem SPSTCOffice 365 Productivity Tips Minneapolis Mayhem SPSTC
Office 365 Productivity Tips Minneapolis Mayhem SPSTCThomas Duff
 
Office 365 Productivity Tips November 2017 November Smack-Down
Office 365 Productivity Tips November 2017 November Smack-DownOffice 365 Productivity Tips November 2017 November Smack-Down
Office 365 Productivity Tips November 2017 November Smack-DownThomas Duff
 
Office 365 Productivity Tips February 2018 Wasatch Wrangle
Office 365 Productivity Tips February 2018 Wasatch WrangleOffice 365 Productivity Tips February 2018 Wasatch Wrangle
Office 365 Productivity Tips February 2018 Wasatch WrangleThomas Duff
 
Office 365 Productivity Tips - August Anarchy
Office 365 Productivity Tips - August AnarchyOffice 365 Productivity Tips - August Anarchy
Office 365 Productivity Tips - August AnarchyThomas Duff
 
Office 365 Productivity Tips - The Summertime Skirmish
Office 365 Productivity Tips - The Summertime SkirmishOffice 365 Productivity Tips - The Summertime Skirmish
Office 365 Productivity Tips - The Summertime SkirmishThomas Duff
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogThomas Duff
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogThomas Duff
 
Leading Your SharePoint Customers To Water, And Teaching Them How To Drink
Leading Your SharePoint Customers To Water, And Teaching Them How To DrinkLeading Your SharePoint Customers To Water, And Teaching Them How To Drink
Leading Your SharePoint Customers To Water, And Teaching Them How To DrinkThomas Duff
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogThomas Duff
 
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkLeading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkThomas Duff
 
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkLeading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkThomas Duff
 
Out-Of-The-Box SharePoint Magic
Out-Of-The-Box SharePoint MagicOut-Of-The-Box SharePoint Magic
Out-Of-The-Box SharePoint MagicThomas Duff
 
SharePoint Folders: Folders vs. Metadata
SharePoint Folders: Folders vs. MetadataSharePoint Folders: Folders vs. Metadata
SharePoint Folders: Folders vs. MetadataThomas Duff
 
SharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsSharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsThomas Duff
 
SharePoint Myths Busted
SharePoint Myths BustedSharePoint Myths Busted
SharePoint Myths BustedThomas Duff
 

Mehr von Thomas Duff (20)

20 Microsoft 365 Productivity Tips - Minnesota SharePoint User Group
20 Microsoft 365 Productivity Tips -  Minnesota SharePoint User Group20 Microsoft 365 Productivity Tips -  Minnesota SharePoint User Group
20 Microsoft 365 Productivity Tips - Minnesota SharePoint User Group
 
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/1420 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14
20 Microsoft 365 Productivity Tips - Minnesota M365 User Group - 2021/06/14
 
Game of SharePoint Migrations: Winter Is Coming
Game of SharePoint Migrations: Winter Is ComingGame of SharePoint Migrations: Winter Is Coming
Game of SharePoint Migrations: Winter Is Coming
 
The Game of SharePoint Migrations: Winter Is Coming
The Game of SharePoint Migrations: Winter Is ComingThe Game of SharePoint Migrations: Winter Is Coming
The Game of SharePoint Migrations: Winter Is Coming
 
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...
20 Office 365 Productivity Tips That You've Probably Never Used But Should sh...
 
Office 365 Productivity Tips Minneapolis Mayhem SPSTC
Office 365 Productivity Tips Minneapolis Mayhem SPSTCOffice 365 Productivity Tips Minneapolis Mayhem SPSTC
Office 365 Productivity Tips Minneapolis Mayhem SPSTC
 
Office 365 Productivity Tips November 2017 November Smack-Down
Office 365 Productivity Tips November 2017 November Smack-DownOffice 365 Productivity Tips November 2017 November Smack-Down
Office 365 Productivity Tips November 2017 November Smack-Down
 
Office 365 Productivity Tips February 2018 Wasatch Wrangle
Office 365 Productivity Tips February 2018 Wasatch WrangleOffice 365 Productivity Tips February 2018 Wasatch Wrangle
Office 365 Productivity Tips February 2018 Wasatch Wrangle
 
Office 365 Productivity Tips - August Anarchy
Office 365 Productivity Tips - August AnarchyOffice 365 Productivity Tips - August Anarchy
Office 365 Productivity Tips - August Anarchy
 
Office 365 Productivity Tips - The Summertime Skirmish
Office 365 Productivity Tips - The Summertime SkirmishOffice 365 Productivity Tips - The Summertime Skirmish
Office 365 Productivity Tips - The Summertime Skirmish
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant Frog
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant Frog
 
Leading Your SharePoint Customers To Water, And Teaching Them How To Drink
Leading Your SharePoint Customers To Water, And Teaching Them How To DrinkLeading Your SharePoint Customers To Water, And Teaching Them How To Drink
Leading Your SharePoint Customers To Water, And Teaching Them How To Drink
 
SharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant FrogSharePoint and the Story of the Mutant Frog
SharePoint and the Story of the Mutant Frog
 
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkLeading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
 
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To DrinkLeading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
Leading Your SharePoint Customers To Water... *and* Teaching Them How To Drink
 
Out-Of-The-Box SharePoint Magic
Out-Of-The-Box SharePoint MagicOut-Of-The-Box SharePoint Magic
Out-Of-The-Box SharePoint Magic
 
SharePoint Folders: Folders vs. Metadata
SharePoint Folders: Folders vs. MetadataSharePoint Folders: Folders vs. Metadata
SharePoint Folders: Folders vs. Metadata
 
SharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General SettingsSharePoint 2010 List and Library General Settings
SharePoint 2010 List and Library General Settings
 
SharePoint Myths Busted
SharePoint Myths BustedSharePoint Myths Busted
SharePoint Myths Busted
 

Kürzlich hochgeladen

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

Power Automate Techniques that "Save

  • 1. April, 26. – 28. 2021 MICROSOFT 365 VIRTUAL MARATHON 2021 m365virtualmarathon.com #M365VM Power Automate Techniques that “Saved our Bacon” Sandra Mahan Tom Duff
  • 2. MICROSOFT 365 VIRTUAL MARATHON 2021 SPONSORS
  • 3. Power Automate Techniques that “Saved our Bacon” Tom Duff and Sandra Mahan
  • 4. Your Waiters Tom Duff Sandra Mahan SharePoint / Microsoft 365 Administrators
  • 5. Set the Table Important housekeeping items to keep everything running smoothly
  • 6. Create a Service Account • Password that doesn't expire • Allows you to see all your flows in one place • Flow won't quit running if the person leaves • Use the service account for the connections (email, SharePoint list updates)
  • 7. Update Flow Details Add a description for the flow • List the business contact, date it was created, and who created it (especially important if using service account to know who supports the flow) Use a naming conventions for your flows • Site name, List/Library Name , Flow Purpose
  • 8. Rename Actions/Steps • Retain the action names (optional) • Indicate what the step does • Add commenting for more complicated steps
  • 9. Beverage Update a single column in a SharePoint list Chef Tom Riha: https://tomriha.com/update-single-sharepoint-column-in-power-automate-with-http-request/
  • 10. Send an HTTP Request to SharePoint Uri: _api/web/lists/GetByTitle('<ListName>')/items(<ItemID>)/validateUpdat eListItem Body: { "formValues":[ { "FieldName": "<FieldToUpdate>", "FieldValue": "<ValueToUpdate>" }, { "FieldName": "<FieldToUpdate2>", "FieldValue": "<ValueToUpdate2>" } ] }
  • 12. Error Handling Build a notification when a Power Automate flow fails Message: • Expression: workflow()['tags']['flowDisplayName'] • Full Path
  • 13. Monitor and Audit • Cloud flow activity • Quickly jump to flow failures • Power Automate Admin center • Check for errors on a weekly basis and reach out to the creator to possibly resolve or delete • https://admin.powerplatform.microsoft.com/
  • 14. Eggs Avoid the infinite loop Chef Scott Shearer: https://o365scott.blog/2019/12/18/stopping-infinite-loops-when-updating-sharepoint-list-items/
  • 15. Trigger Conditions • Don’t waste flow runs • Number of API requests / 24 hours based on licensing: https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits- allocations#microsoft-power-platform-requests-allocations-based-on-licenses • Difficult to figure out if the flow actually did anything if they run every time with no actions • Allows you to avoid runs entirely instead of using condition actions to check and terminate
  • 16. Toast Keep your hyperlinks in an email from becoming inedible…
  • 17. HTML Link in Email • Manually create your link with your <a> tag (use single quotes around the actual link) • Add a <div> at the top and a </div> at the bottom to keep the email from going back to WYSIWYG mode (and corrupting the link)
  • 18. Pancakes Multi-Value Choice Fields Chef Laura Rogers: https://wonderlaura.com/2020/09/01/flow-update-multi-select-column/
  • 19. Multi-Value Choice Fields • You’d think you could update a multi-value field like the illustration on the left… and you’d be wrong. • Instead, you have to format each of the values in the multi-value field into an Array variable, and then put the array variable into the field in the Update action.
  • 20. Multi-Value Choice Fields • You need to create your Array variable. • For each of the values in the multi-value field (Apply to each action), add an element using brackets to separate each value.
  • 21. Multi-Value Choice Fields • Once all the elements are loaded into the Array variable, collapse the field in the Update Item action and add the Array variable to the field. Again, I *highly* stress that you check out Laura Roger’s post on this topic: https://wonderlaura.com/2020/09/01/flow-update-multi- select-column/
  • 22. Cereal and Fruit How to get a number of items to process in your flow by using the Get Items action Chef Andrew Chomik: https://blog.ion.works/2019/03/17/common-odata-filters-for-microsoft-flow-a-reference-chart-for-users-of-all-kinds/
  • 23. Filter Queries • Filter Query – create a query to select all the items you want (Status is equal to ‘Notifications In Process’ and First Notification Date is equal to today) • Order By – sort the results (Title asc, Date desc) • Top Count – it says “Default = all”… that’s a lie. 100 is the default, and the most you can have is 5000. • Limit Columns by View – uses the default view of the list. However, if you exceed thresholds in the default view, you’ll need to create a different view with only the fields you need and use that view here.
  • 24. BACON!!!! How to manipulate permissions on SharePoint list items... (Honestly, this is where I miss SharePoint Designer the most...)
  • 25. Restoring Inheritance • Necessary if your list item already has unique permissions, and it must be the first thing you do. • URI of API call: _api/lists/getByTitle('<list>')/items(<item ID>)/resetroleinheritance()
  • 26. Breaking Inheritance • URI of API call: _api/lists/getByTitle('<list>')/items(<item ID>)/breakroleinheritance(copyRoleAssignments=false,clearSubscopes= true) • copyRoleAssigments – true to copy over existing permissions, false to start with no permissions • clearSubscopes – true to set any child items to inherit from this item, false to leave the child items alone
  • 27. Group Permissions • getByName – the name of the SharePoint permission group you want to use • URI of API call: /_api/web/SiteGroups/GetByName('<name of permission group>')
  • 28. Group Permissions • d.id – this grabs the ID of the SharePoint permission group from the previous step. • Enter the following in the Expressions tab: body('Send_an_HTTP_request_to_xxxx_Owners')['d']['id']
  • 29. Group Permissions • getByTitle – the name of the list where the item resides • items – the item ID • addroleassignment – the ID from the previous step • roledefid – the value of the permission level, such as Full Control (more on that in a couple of slides)
  • 30. Person Permissions • getByEmail – the email address of the person who will be added to the permissions (the Outputs action will be explained in a later slide) • URI of API call: /_api/web/SiteUsers/GetByEmail('<user email address>')
  • 31. Person Permissions • d.id – this grabs the ID of the person from the previous step. • Enter the following in the Expressions tab: body('Send_an_HTTP_request_to_Employee_ID_Email')['d']['id']
  • 32. Person Permissions • getByTitle – the name of the list where the item resides • items – the item ID • addroleassignment – the ID from the previous step • roledefid – the value of the permission level, such as Full Control (more on that in a couple of slides)
  • 33. How to find the roledefinition values • Type the following into your browser: https://domain/sites/sitename/_api/web/roledefinitions • All the role definition values show up in the XML page… you just have to find them. ☺ • Default Role Definitions: Role Definition Name Role Definition Id Full Control 1073741829 Design 1073741828 Edit 1073741830 Contribute 1073741827 Read 1073741826 Limited Access 1073741825 View Only 1073741924 Chef Md. Tahmidul Abedin: https://www.c-sharpcorner.com/article/get-sharepoint-role-definition-ids/
  • 34. Use an XML format tool • <d.Name> - the name of the permission level • <d.Id> - the numeric value of the permission level • I recommend always looking them up…
  • 35. Be sure to tip your waiters Tom Duff • Twitter - @duffbert • Website - https://oneminuteofficemagic.com • LinkedIn - https://www.linkedin.com/in/thomasduff/ • Email - duffbert@gmail.com Sandra Mahan • Twitter - @smahan14 • LinkedIn - https://www.linkedin.com/in/sharepointsandra/ • Email – smahan14@gmail.com • Questions and Answers • Complete session feedback - http://bit.ly/M365VM21Feedback
  • 37. Accommodating apostrophes in an email address • Apostrophes in email addresses are technically invalid, but they will still route. • However, it completely messes up the getByEmail REST API call when trying to set permissions. • To work around this, you need to “escape” the single apostrophe in a Compose action • Use the following Expression: replace(body('Get_user_profile_(V2)')?['Mail'], '''', '''''')
  • 38. What if the person is new? This adds the person to a SharePoint permission group in the site so that their ID can be found in the Site Collection User List. URI of API call: _api/web/SiteGroups/GetByName('Preload Users')/users Body of API call: { "__metadata": { "type":"SP.User" }, "LoginName":"i:0#.f|membership|bob@test.com" }