Power Automate Astuces

Pour empêcher des boucles infinies lors de la modification des éléments (lorsque le flux modifie l’élément modifié):

https://o365scott.blog/2019/12/18/stopping-infinite-loops-when-updating-sharepoint-list-items/

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/SharePoint-Managing-Recursive-Events-in-Flow/ba-p/250076

Pour déclencher le flux seulement lorsque un champ est modifié:

Power Automate: Start a Flow from a column change

Obtenir les modifications pour un élément ou un fichier (propriétés uniquement) / Get changes for an item or a file (properties only)

Pour filtrer les éléments d’une liste

Pour voir le champ type de contenu et pour qu’il fonctionne, il faut que les types de contenu de la liste dans SharePoint soit à ‘autoriser la gestion’ = Oui.

Filtrer le déclencheur

https://thrivenextgen.com/microsoft-power-automate-flow-trigger-conditions/

Distinguer la création et la modification sur le déclencheur ‘Lorsqu’un élément est créé ou modifié’

https://powerusers.microsoft.com/t5/General-Power-Automate/Trigger-flow-when-an-item-in-SharePoint-list-is-modified/td-p/412760

Limite de 256 lignes dans Excel

https://powerusers.microsoft.com/t5/Building-Flows/256-rows-limit/td-p/268351

Il a une limite d’énumération (List tasks) de 400 tâches Planner.

Champ vide

https://www.spsimply.com/home/2019/1/10/flow-make-a-condition-to-check-for-empty-fields-or-null-values

Option vide dans colonne de choix

https://powerusers.microsoft.com/t5/Process-Advisor/Empty-field-Choice-column/td-p/825282

Envoi de courriels – il y a 3 options

Étrange: lorsque je crée une condition champ égale à 1. Je dois mettre 1 entre guillemet « 1 ». Par la suite, lorsque le flux est modifié les guillemets ne sont pas visibles mais le flux fonctionne.

Gestion des erreurs dans les flux

https://flow.microsoft.com/fr-ca/blog/error-handling/

https://www.sovereignsp.com/post/power-automate-error-management-and-notifications

Devise US est un champ oui/non. S’il est à oui alors on ajoute un saut de ligne dans le courriel puis le texte sinon on ne met rien.

if (outputs('Obtenir_les_propriétés_du_fichier')?['body/DeviseUS'], '<br>Devise US', null)

SiCouru est un champ texte. S’il est vide alors on ne met rien, sinon on écrit le texte.

if (equals(outputs('Obtenir_les_propriétés_du_fichier')?['body/SiCouru'],null), null, outputs('Obtenir_les_propriétés_du_fichier')?['body/SiCouru'])

Mettre à jour une colonne avec plusieurs personnes

Updating multiple people column with Power Automate

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas/tab/most-kudoed

Flux réutilisable – Child flow

Contrôle des erreurs: Étendue/Portée/Scope et Terminer

Send a notification when flow fails – Power Automate – YouTube

Terminate a Flow with Failed/Cancelled status | Power Automate | D365 Demystified

3 Power Automate Error-Handling Patterns You Must Know (matthewdevaney.com)

Publicité

Nouveautés septembre 2021 et plus

Roadmap:

SharePoint: Private drafts for SharePoint pages and news ID: 85629 October 2021
https://support.microsoft.com/en-us/office/create-a-private-sharepoint-page-or-news-post-e9aa12cc-1ced-4152-bc1b-85dc0192fafe

Microsoft Teams: Search results page in Teams Feature ID: 66583 November CY2021

Microsoft Teams: Pairing the channel and the corresponding SharePoint folder name Feature ID: 72211 September CY2021

Microsoft Teams: New default settings when opening Office files Feature ID: 82662 September CY2021

Microsoft Teams: New assignment experience in modal window for Breakout Rooms
Enhanced UX for participant assignment. This includes new capabilities such as sorting participants and rooms and performing multiple selections and assignments to rooms.
Feature ID: 81389 Septembre 2021

Microsoft Teams: Breakout Room Presenter support
Extend the management of Breakout Rooms to specific presenters.
Feature ID: 81118 Septembre 2021

Microsoft Teams: Breakout Room pre-meeting room creation and participant assignment
Introducing capability for organizer to perform breakout room configuration and participant assignment before the meeting starts.
Feature ID: 81390 Septembre 2021

Visio: Visio web app in Microsoft 365
Microsoft 365 for commercial users now includes core functionalities of Visio – a Visio web app that allows anyone to create, edit, and share professional diagrams and integrates with a variety of Microsoft solutions, including Microsoft Teams for a collaborative diagramming experience.
Feature ID: 72235 Août 2021

NE PAS OUBLIER: Microsoft Teams: Microsoft Teams Connect (Shared channel) Feature ID: 70766 November CY2021

Roster Planner

https://docs.microsoft.com/en-us/office365/planner/access-planner-roster

Déjà lancé:

OneDrive: Expiring access for external users Feature ID: 43797 May CY2021

SharePoint: Updates for Microsoft Teams connected team sites Feature ID: 81945 June CY2021 (MC261534 et MC282480)

https://docs.microsoft.com/en-ca/SharePoint/teams-connected-sites

  • Je ne comprends pas ce qu’il y a de nouveau?

SharePoint: New experience to add an app Feature ID: 82031 July CY2021

  • Les applications classiques (calendrier, contacts, tâches…) sont mises en arrrière-plan

Nouveau Stream:

Microsoft Stream: Preview of new video start page on office.com Feature ID: 68830 June CY2021 (Launched) https://stream.office.com

Microsoft Teams: Block Downloads for non-channel Teams meeting recordings on OneDrive Feature ID: 70543 May CY2021 (Launched)

Microsoft Stream: Block downloads for channel meeting recordings saved to SharePoint Feature ID: 82053 July CY2021 (Launched)

Microsoft Teams: Live Transcription with speaker attribution Feature ID: 65967 March CY2021 (Launched)

Microsoft Teams: Live Transcription with speaker attribution (for additional SKUs) Feature ID: 82029 June CY2021 (Launched)

Microsoft Teams: Live transcript in Teams meetings in additional spoken languages Feature ID: 83615 August CY2021 (Launched)

NE PAS OUBLIER: Microsoft Teams: Auto-Expiration of Meeting Recordings stored on OneDrive and SharePoint Feature ID: 84580 Novembre CY2021

https://docs.microsoft.com/en-us/microsoftteams/cloud-recording#auto-expiration-of-teams-meeting-recordings

Microsoft Teams: meeting recordings saved to OneDrive and SharePoint