Files
m365dsc-scripts/README.md
2024-05-20 07:36:43 +00:00

3.2 KiB

Microsoft 365 Configuration Export Scripts

Overview

This repository contains a collection of PowerShell scripts used to export configurations from Microsoft 365 tenants. These scripts leverage Microsoft365DSC, a powerful tool that enables administrators to define and manage configurations across Microsoft 365 services in a declarative manner.

The scripts in this repository are designed to help ensure that the export process adheres to company policies and complies with security standards, excluding personal and group-related settings to maintain privacy and security.

Repository Structure

The repository is organized into folders based on the specific configuration scopes and requirements:

  • Azure Active Directory (AAD): Scripts related to the export of Azure AD configurations, focusing on authentication methods, role settings, and tenant details without including personal user data or group details.
  • Exchange Online (EXO): Contains scripts for exporting configurations of Exchange Online, covering aspects like anti-phish policies, data encryption, and mail flow settings while excluding settings that could reveal personal information.
  • Intune: Scripts that manage device compliance, app configuration policies, and other Intune settings crucial for device and application management.
  • Microsoft Teams: Includes scripts to handle configurations related to communication and collaboration settings in Microsoft Teams, ensuring the setup of policies governing calling, meetings, and guest access.
  • Power Platform: Covers scripts for managing PowerApps environments, tenant settings, and other configurations related to the Power Platform.
  • Security and Compliance: Focuses on scripts that configure retention policies, data loss prevention, and compliance settings across Microsoft 365 services.
  • SharePoint Online: Scripts dedicated to managing SharePoint Online settings, including access control and tenant-wide configurations.

Each folder contains a set of scripts along with a description of what each script does, ensuring clarity and ease of use.

Usage

To use these scripts:

  1. Ensure you have the required permissions to execute PowerShell scripts and manage configurations in your Microsoft 365 tenant.
  2. Clone this repository to your local machine or download the specific scripts you need.
  3. Open your PowerShell terminal and navigate to the script's directory.
  4. Run the scripts with an account that has appropriate administrative privileges over your Microsoft 365 environment.
  5. Modify the scripts as needed to fit your specific configuration requirements.

Contributing

Contributions to this repository are welcome. Please ensure that any contributed scripts do not include personal or sensitive data and adhere to the organizational security policies. To contribute:

  1. Fork the repository.
  2. Create a new branch for your contributions.
  3. Commit your changes with descriptive commit messages.
  4. Submit a pull request detailing the changes made and their purpose.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For support or to report issues, please file an issue in this repository's issue tracker.

Thank you for using or contributing to this repository!