Bastien Perez

Freelance Microsoft 365 - Active Directory - Modern Workplace

Retrieving MSI file information with PowerShell Members

An MSI (Microsoft System Installer) file is a format specific to Microsoft used for installing applications on a Windows computer. An .msi file contains information about the application to be installed, such as the version, the publisher's name, the necessary files, configuration settings, etc. The information in the

Bastien Perez
Bastien Perez
Windows

Récupérer les informations d’un fichier msi avec PowerShell Members

Un fichier MSI (Microsoft System Installer) est un format de fichier propre à Microsoft utilisé pour installer des applications sur un ordinateur Windows. Un fichier MSI contient des informations sur l'application à installer, telles que la version, le nom de l'éditeur, les fichiers nécessaires, les paramètres

Bastien Perez
Bastien Perez
Windows

Azure AD Connect Cloud Sync : la prochaine génération de synchronisation pour les environnements hybrides Members

A mesure que les organisations étendent leur présence dans le cloud de Microsoft, il est crucial de maintenir un accès transparent pour leurs utilisateurs. Avec l'identité hybride, les clients peuvent gérer les identités et l'accès en synchronisant leurs identités existantes avec le cloud. Azure AD Connect

Bastien Perez
Bastien Perez
Microsoft 365

New Setting Users Can Create Azure AD Tenants (updated 2024 new graph module) Members

New setting means more control In november 2022 (I haven't the exact date but it seems since 18th november 2022), many folks warned on a new setting in Azure AD: "Users can create Azure AD tenants". What? Microsoft created a new security hole? 😱 This setting is

Bastien Perez
Bastien Perez
Microsoft 365

Out of the band updates for November 2022 updates Members

Microsoft has released optional out-of-band (OOB) updates to fix known issues with Kerberos sign-in failures and other authentication problems on domain controllers. These problem arise after installing November 2022 Cumulative Updates. To the remind, the November updates (KB5021131) were here to fix CVE-2022-37966. With them,

Bastien Perez
Bastien Perez
Active Directory

KB5021131 - How To Detect RC4 Accounts Members

In the Microsoft article about the November 2022 updates KB5021131 for CVE-2022-37966, Microsoft provides a detection rule: ((msDS-SupportedEncryptionTypes & 0x3F) != 0) && ((msDS-SupportedEncryptionTypes & 0x38) == 0) This rule is not an expression you can user as-is with Get-ADUser or Get-ADObject. If you

Bastien Perez
Bastien Perez
Active Directory

Download old Azure AD Connect versions / Entra Connect Sync [updated July2026] Members

💡This page is updated as soon as a new version of Azure AD Connect/Entra Connect Sync is available. If you work with Microsoft 365, Azure AD Connect (Entra Connect Sync) is the masterpiece to synchronize the on-premise Active Directory to Azure Active Directory. Microsoft provides 12 months support

Bastien Perez
Bastien Perez
Microsoft 365

Augmentation des audits logs à 365 jours dans Microsoft 365 (with PowerShell) Members

Présentation Le journal d’audit de Microsoft 365 est le meilleur endroit pour identifier les actions utilisateurs et administrateurs (comme la liste des changements de droits sur les comptes admins). Par défaut, la rétention standard est limitée à 90 jours (180 jours depuis le 17 octobre 2023), sauf pour les

Bastien Perez
Bastien Perez
Microsoft 365

Microsoft 365 audit logs are now retained for 365 days for all tenants (with PowerShell) Members

Overview The Microsoft 365 audit log is the best place to identify user and admin actions (like track admin roles changes). By default, standard retention is limited to 90 days (180 days since October 17, 2023), except for tenants with Office 365 E5 or Microsoft 365 E5 licenses who can

Bastien Perez
Bastien Perez
Microsoft 365

Mitigate PetitPotam in Active Directory Certificate Services Members

💡Please refer to the links at the bottom of this article for the most up-to-date links by Microsoft. Uninstall ADCS web enrollment A quick method is to uninstall the ADCS web enrollment (reboot required). After this, you can’t use https://yourserver.domain.com/certsrv Uninstall-WindowsFeature ADCS-

Bastien Perez
Bastien Perez
Windows

How to get Microsoft Technet Gallery scripts Members

Microsoft closed Technet Gallery and Script Center in early 2021. On this page, you will find a selection of scripts. Please note, however, that the licenses for some scripts do not permit free distribution. If you are seeking any specific script from Technet, feel free to contact me – I have

Bastien Perez
Bastien Perez
PowerShell

Accès au fichier cloud est refusé avec Uninstall-Module Members

Une incohérence entre OneDrive et PowerShell Lors de la désinstallation d’un module PowerShell avec la commande Uninstall-Module il peut arriver l’erreur suivant: PackageManagement\Uninstall-Package : L’accès au fichier cloud est refusé Au caractère C:\Users\xxxxx\OneDrive – YYYY\Documents\WindowsPowerShell \Modules\PowerShellGet\2.1.5\PSModule.

Bastien Perez
Bastien Perez
OneDrive