Skip to main content

PS365 - PowerShell for Microsoft 365

PowerShell module for Microsoft 365 tenant management PS365 is a comprehensive collection of PowerShell functions designed to simplify and automate Microsoft 365 administration tasks. Whether you’re managing Exchange Online, Azure AD, or other Microsoft 365 services, PS365 provides you with secure and reliable tools for efficient tenant management.

Features

  • Powerful Automation - Streamline complex Microsoft 365 administration tasks
  • Well Documented - Comprehensive guides, examples, and parameter descriptions
  • (Relatively) Easy to Use - Simple PowerShell cmdlets with intuitive parameters
  • Multi-Service Support - Works with Exchange Online, Entra ID, Teams, and more

Key Capabilities

Authentication & Identity Management

  • Authentication Methods Analysis - Deep insights into user MFA configurations
  • User Authentication Reporting - Comprehensive reports with Excel export capabilities
  • Method ID tracking - Track and analyze authentication method usage patterns
  • Duplicate Detection - Identify shared phone numbers and authentication overlaps

Exchange Online Management

  • Mailbox Administration - Efficient mailbox management and reporting
  • Recipient Analysis - Detailed recipient type detection and classification
  • Integration Ready - Seamless integration with Exchange Online PowerShell

Microsoft Graph Integration

  • Beta API Support - Access to latest Microsoft Graph Beta endpoints
  • Enhanced Properties - Get LastUsedDateTime, CreatedDateTime, and clientAppName
  • Bulk Operations - Efficient parallel processing for large tenants
  • Error Handling - Robust error management and logging

Core Functions

Get-MgAuthNMethodInfo

Advanced authentication method analysis for Microsoft 365 users with comprehensive reporting capabilities. Key Features:
  • Support for all authentication method types (Phone, Authenticator, FIDO2, etc.)
  • Excel export with multiple analysis sheets
  • Duplicate phone number detection
  • Method ID tracking and analysis
  • Beta Microsoft Graph API integration for enhanced data

Reporting & Analytics

Excel Integration

  • Multi-Sheet Reports - Organized data across multiple Excel worksheets
  • Shared Phone Analysis - Identify phone numbers used by multiple users
  • Visual Analytics - Auto-sized columns and filtering for easy analysis
  • Empty Sheet Handling - Consistent sheet structure even when no data exists

Data Export Formats

  • PowerShell Objects - Native PowerShell object output for scripting
  • Excel Files - Professional Excel reports with multiple worksheets
  • Structured Data - Properly formatted data with consistent schemas

Security & Compliance

Authentication & Permissions

  • Microsoft Graph Scopes - Proper scope management for secure access
  • Token Management - Efficient token handling and renewal
  • Multi-Tenant Support - Works across different Microsoft 365 tenants

Data Protection

  • Secure Data Handling - No credential storage or logging
  • Privacy Focused - Minimal data collection and processing
  • Audit Ready - Comprehensive logging for compliance requirements

Use Cases

IT Administrators

  • Security Audits - Comprehensive authentication method analysis
  • Compliance Reporting - Generate reports for security compliance
  • User Management - Efficient bulk user operations and analysis

Security Teams

  • Risk Assessment - Identify users with weak authentication setups
  • Shared Resource Detection - Find shared phone numbers across users
  • Authentication Monitoring - Track authentication method usage patterns

Microsoft 365 Consultants

  • Tenant Assessment - Quick analysis of client Microsoft 365 environments
  • Migration Planning - Understanding current authentication landscapes
  • Best Practice Implementation - Guidance based on comprehensive data

Continuous Development

PS365 is actively maintained and regularly updated with:
  • New Microsoft Graph API features
  • Enhanced reporting capabilities
  • Additional Microsoft 365 service support
  • Performance improvements and bug fixes
  • Community-driven feature requests

Support & Community

  • Documentation - Comprehensive guides and examples
  • GitHub Issues - Bug reports and feature requests

PS365 - Making Microsoft 365 administration simple and efficient.