posts
PnP PowerShell: 3 Ways to Create Microsoft Teams with Custom Naming Conventions
Introduction There are multiple ways to create Microsoft Teams using PnP PowerShell, each offering different levels of control over naming conventions. This post explores 3 distinct methods and compares their capabilities for customizing Site Title, Site URL, and M365 Group names.
When a Microsoft Team is created, a SharePoint site and M365 Group are automatically created in the backend. You may want to implement different naming conventions for each component:
posts
SharePoint Search: Date Queries Search Out of the box Tricks
Introduction SharePoint search is powerful, but searching by date ranges can be surprisingly tricky. Many users struggle with date-based queries, especially when trying to find documents modified or created within specific timeframes. This guide provides tips to use SharePoint/M365 search capabilities with date fields: write, LastModifiedTime, Created.
The Challenge with Date Searches Date searches in SharePoint have several gotchas that can frustrate users:
Format requirements - SharePoint expects specific date formats (American format UTC , i.
posts
PowerShell Hack: Apply Out-of-the-Box SharePoint Site Designs to Existing Sites
Introduction SharePoint site designs are powerful tools for automating site configuration, but they’re typically applied during site creation. What if you need to apply Microsoft’s out-of-the-box site designs to existing sites using automation? The PnP PowerShell, CLI for M365 and other PowerShell module cover applying custom site designs only. We can leverage a PowerShell hack using REST API calls to achieve this functionality. Thanks to Arash Aghajani who pinpointed on feasibility and requested for it to be natively available within PnP PowerShell.