This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script: Export-EntraMailboxesAndGroups.ps1 | |
# Description: This script exports information about shared mailboxes, distribution lists, | |
# Microsoft 365 Groups, and Teams to a CSV file, with individual rows for each member. | |
# It includes handling for ambiguous group names and deduplicates M365 Groups and Teams. | |
# The intent is to process or analyse the resulting CSV in Excel using Pivot Tables. | |
# Author: Jonathan Bourke | |
# Date: 2024-09-24 | |
# Version: 1.8 | |
# Function to check if a module is installed and import it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"functionAppName": { | |
"type": "string", | |
"defaultValue": "[format('func-{0}', uniqueString(resourceGroup().id))]", | |
"metadata": { | |
"description": "The name of the Azure Function app which will connect to Salesforce." | |
} |