Microsoft 365 Scripts

Filevault key rotation 🚀Ensuring Secure OneDrive Sync with SharePoint Online Tenant Sync Client RestrictionAuditing SharePoint Online Site Sharing Settings with PowerShellVerifying User Phone Numbers Against MFA Settings with Microsoft Graph PowerShellAuditing Safe Links Policies in Exchange Online with PowerShellIdentifying Macro-Related Mail Flow Rules in Exchange OnlineAuditing Non-Owner Mailbox Access in Exchange Online with PowerShellEnsuring Anti-Malware Protection for Accepted Domains in Exchange OnlineExport of Conditional Access Policies with Microsoft Graph APIMonitoring Risky User Status with Microsoft Graph API: PowerShell ScriptHow to Sync Exchange Online Proxy Addresses with Active Directory Users while Excluding Specific DomainsValidate Microsoft Graph Application Credentials and Owners with Sign-In DataCompare UserPrincipalName and Primary Email Address in Active Directory and Flag DiscrepanciesScript to Update 'Hide from Address List' Attribute for Active Directory Users Based on CSV InputScript to Disable SMS Sign-In for Federated Users in Microsoft GraphScript to Export BitLocker Recovery Keys for Managed Windows Devices to CSVScript to Export App Role Assignments for Azure AD Integrated Applications to CSVScript to Export Members of an Azure AD Group to CSV Using Microsoft GraphScript to Count and Export Users from Azure AD to CSV with Last Sign-In InformationScript to Backup and Restore Azure AD Group Members and Owners by ImmutableIdScript to Backup and Restore Distribution Group Members and Owners Using ImmutableId in Azure ADScript to Reset User Authentication Methods and Add to Group Using Microsoft GraphScript to Configure Trusted Domains for Junk Email Settings in Exchange Online for All MailboxesScript to Export Mailbox Permissions in Exchange Online to CSVScript to Export Office 365 Group Information to CSVScript to Export and Import Transport Rule Collection Between Exchange Online TenantsScript to Retrieve and Delete Emails Using Exchange Online and Microsoft Graph APIScript to Add or Remove User Rights for Defined Users on Specified ComputersScript to Rotate BitLocker Keys and Update Group Membership for Devices Missing Encryption KeysScript to Generate a Comprehensive List of Network SharesScript to Add User Shutdown Privileges EfficientlyUninstalling and Removing Configuration Manager (SCCM) ClientScript for Updating Device Ownership in Microsoft GraphScript to Sync Windows Devices in Microsoft GraphScript to Update Primary User of Windows Devices in Microsoft GraphIntune script To Enforces The Enhanced PIN Policy For BitLocker Intune Script For DNS Detection and RemediationDisabling WinRM Basic Authentication with PowerShell ScriptManaging LMCompatibilityLevel with PowerShell ScriptManaging Multiple LSA Security Settings with PowerShell ScriptManaging OneDrive Permissions with PowerShell: Detecting and Removing Extra OwnersAutomating SharePoint Site Deletion and Retention Policy Updates with PowerShellAutomating Microsoft Teams Shared Channel Membership with PowerShellAutomating Microsoft Teams Channel Membership Audit with PowerShellAutomating the Removal of Users from Microsoft Teams Shared Channels with PowerShellAutomating IPv6 Disabling for Network Adapters with PowerShell