Author: Aymeric

Mise à jour d’un serveur Kimsufi (OVH) depuis Debian 12 (Bookworm) vers Debian 13 (Trixie)

Cette mise à jour est similaire à ce qui a pu être fait précédemment. Je vais essayer d’expliquer brièvement les étapes à suivre. D’abord s’assurer de la version actuelle de Debian avec la commande suivante : lsb_release -a Il est recommandé d’utiliser le programme /usr/bin/script pour enregistrer une transcription de la session de mise à […]

Visiter Berlin

Nous avons passé 4 jours dans la capitale allemande, et j’aimerais partager des trucs et astuces et les endroits que nous avons découverts. À savoir : Il faut réserver plusieurs semaines avant la coupole du Bunderstag – nous n’avons pas pu le faire car on s’y est pris 2 semaines avant et tout était plein. […]

Make a field ReadOnly in SharePoint List

We can make a field readonly or editable in SharePoint using REST API. I usually use it when I want to update a bunch of SharePoint List Items without changing their Modified date and Editor details. Below is an example to make “Editor” readonly again (you’ll first need to get the Digest Token): fetch(`${siteUrl}/_api/web/lists/getByTitle(‘${listName}’)/fields/getbyinternalnameortitle(‘Editor’)`, { […]

Issues with the Chrome extension “Microsoft Single Sign On”

When you use Chrome on a corporate network, you need an extension called “Microsoft Single Sign On” to be correctly authenticated with the Microsoft 365 websites (like SharePoint, …). Recently the extension failed multitimes and I was not able to connect to my Microsoft work account anymore using Chrome. I had to clear cookies, restart […]

Power Automate Flow: copy folder when one of its files is updated

I had the scenario where when files are updated in a specific folder of a SharePoint Documents Library, then the folder should be copied to another document library. Because we don’t want the copy process to trigger for ever changes (like if we bulk upload files, or if someone is doing changes in live in […]

Power Automate Flow: force a file deletion and force a file replacement

To force a file to be deleted in a SharePoint Document Library, using a Power Automate Flow, we can call the action “Send an HTTP Request to SharePoint“, with the below: Method: POST Uri: _api/web/Lists/GetByTitle(‘Document Library Name’)/GetItemById(@{variables(‘ItemID’)})/recycle Headers: Prefer: bypass-shared-lock To force a file to be replaced with new content in a SharePoint Document Library, […]

Set People Picker field in a SharePoint List Item using Microsoft Graph

When we want to use MS Graph to add an item into a SharePoint List that contains a People Picker, then here what needs to be done: Retrieve the Site ID for the root site collection, using https://graph.microsoft.com/v1.0/sites/[CORP].sharepoint.com:/sites/MySiteCollection Retrieve the Site ID for the target end website, using https://graph.microsoft.com/v1.0/sites/[CORP].sharepoint.com:/sites/MySiteCollection/MyParentSiteWeb/MyTargetWebsite/ Use the user’s email address to […]