🎓 Bora Academy FREE

IT Administration Blueprint: M365 Admin Console

Enterprise Operations Guide: Deep User Provisioning, Group Governance, License Optimization, Teams Policy Control, OneDrive Quotas, and SharePoint Security

Module 1: User Lifecycle & Offboarding Playbook

1.1 User Creation Mechanics & Identity Types

IT System Administrators manage user provisioning via Users > Active users in the M365 Admin Center (`admin.microsoft.com`). Provisioning requires defining the User Principal Name (UPN), Primary SMTP address, Usage Location (mandatory for license entitlement), and Initial Password state.

Enterprise Offboarding Protocol (Standard Operating Procedure) When an employee leaves the company, IT administrators must execute a strict multi-step offboarding sequence in the Admin Center to prevent data loss or unauthorized access:
  1. Sign-in Block: Select the user > Click Block sign-in. Forces immediate active session termination across all devices.
  2. Revoke Sessions: Navigate to the user's Sign-in logs / Account settings > Click Sign out of all sessions (invalidates OAuth refresh tokens within 60 minutes).
  3. Convert to Shared Mailbox: Go to Mail tab > Click Convert to shared mailbox. This frees up the user's paid license while preserving all historical emails and calendar items.
  4. Delegate Mailbox Access: Grant Read and Manage and Send As permissions to the departing user's manager or replacement.
  5. OneDrive Access Delegation: Under the OneDrive tab > Click Create link to files. Grants the manager full access to the user's OneDrive files for 30 days (default retention).
  6. License Reclaiming: Navigate to Licenses and Apps > Uncheck paid license subscriptions (e.g., E5/E3) to return them to the available pool.

1.2 Mailbox Conversion & Soft/Hard Deletion Timelines

Account / Mailbox State Retention Window License Required? Administrative Action
Active User Mailbox Active indefinitely Yes (Exchange Online P1/P2) Standard operational account.
Shared Mailbox (< 50 GB) Active indefinitely No license required Converted from primary user mailbox.
Soft-Deleted User 30 Calendar Days No (License released) Restorable via Admin Console > Deleted Users.
Inactive Mailbox (Litigation Hold) Defined by Hold Policy No active license needed Mailbox retained permanently for compliance after account deletion.

Module 2: Groups, DLs & Mail-Enabled Entities

The M365 Admin Console supports four distinct group types under Teams & groups > Active teams & groups. Choosing the correct group architecture is critical for security, access control, and communication efficiency.

2.1 Group Types & Technical Comparison

Group Type Mail Enabled? Entra ID Security Target? Provisioned Resources
Microsoft 365 Group Yes Yes Shared Mailbox, Shared Calendar, SharePoint Site, Teams Team, Planner, OneNote.
Security Group No Yes Used for assigning permissions to SharePoint, OneDrive, Intune policies, and Group-Based Licensing.
Mail-Enabled Security Yes Yes Grants resource access (e.g., SharePoint) while functioning as an email broadcast list.
Distribution List (DL) Yes No Broadcast email distribution list only. Cannot be used to grant file or folder security rights.

2.2 Dynamic Membership Rules vs. Static Assignment

While static groups require manual member management, Dynamic Groups evaluate membership automatically based on user identity attributes synchronized from Entra ID:

// Example Dynamic Group Rule for IT Department:
(user.department -eq "Information Technology") -and (user.country -eq "United States")

// Example Rule for Frontline Workers:
(user.userType -eq "Member") -and (user.jobTitle -startsWith "Retail")
            

Module 3: License Management & Optimization

3.1 License Allocation Methods

Under Billing > Licenses, administrators track available stock, expiration dates, and assigned services across core Stock Keeping Units (SKUs) such as Microsoft 365 E3, E5, Business Premium, and F3.

3.2 Granular Service Plan Toggling

Administrators can disable individual sub-services (Service Plans) within a master license SKU. For example, an IT team can assign an M365 E5 license while disabling Viva Engage or Exchange Online for specific user profiles.

Module 4: Microsoft Teams Admin Controls

While deep policy configuration occurs in the Teams Admin Center (`admin.teams.microsoft.com`), high-level org-wide settings, team creation, and external access policies are managed directly inside the main M365 Admin Center.

4.1 External Access vs. Guest Access

Key Distinction: External Access (Federation) vs. Guest Access
  • External Access (Federation): Allows users in your domain to chat and hold calls with external users from trusted domains (e.g., @externalcompany.com). External users **cannot** access internal Teams channels, file shares, or SharePoint sites.
  • Guest Access (Entra B2B): Creates a Guest user object in your Entra ID tenant. Guests can be added to specific Teams channels, share files, collaborate in channel chats, and access assigned SharePoint sites.

4.2 Organization-Wide Teams Settings in M365 Console

Located under Settings > Org settings > Microsoft Teams:

Module 5: OneDrive for Business Administration

Managed via Settings > Org settings > OneDrive or the user details pane in admin.microsoft.com.

5.1 Storage Quotas & Provisioning Limits

5.2 Retention on Account Deletion & Access Handoff

When an M365 account is deleted, OneDrive initiates a cleanup process:

[User Account Deleted] 
        │
        ▼
[30-Day Default Retention Window Starts (Configurable up to 3650 Days)]
        │
        ▼
[Automatic Notification Email Sent to Manager with Direct Link to OneDrive Access]
        │
        ▼
[Manager Copies Business Files] ---> [Retention Expires] ---> [OneDrive Moved to Recycle Bin (30 Days)]
            

Module 6: SharePoint Online Core Governance

6.1 External Sharing Levels

Configured centrally in M365 Admin Center under Setup > Sharing data with external users or via the SharePoint Admin Center. External sharing settings operate on a tier system where child sites cannot have a more permissive setting than the global tenant setting:

Sharing Tier Functional Access Level Security & Compliance Risk
Anyone (Anonymous) Users can create unauthenticated links that allow anyone to view/edit files without logging in. Highest Risk (Requires periodic audit & expiration limits).
New and existing guests External users must authenticate via B2B code or Entra guest account creation. Moderate (Controlled authentication required).
Existing guests only Only guests already in the organization's Entra directory can be granted file access. Low-Moderate (Pre-approved guests only).
Only people in your organization Completely disables external sharing. Internal users only. Zero External Exposure.

6.2 Access Control for Unmanaged Devices

Restricts access from non-hybrid or non-Intune compliant personal devices: options include Full Access, Allow Limited Web-Only Access (prevents file downloads, printing, or local sync), or Block Access completely.

Module 7: Automation Scripts & Graph API Reference

Below are production-ready PowerShell scripts using the modern Microsoft.Graph and ExchangeOnlineManagement modules for common M365 Admin tasks.

7.1 Complete Employee Offboarding Script (PowerShell)

# Install modules if required: Install-Module Microsoft.Graph, ExchangeOnlineManagement
Connect-MgGraph -Scopes "User.ReadWrite.All", "Directory.AccessAsUser.All"
Connect-ExchangeOnline -UserPrincipalName admin@yourtenant.onmicrosoft.com

$UserUPN = "departing.employee@yourtenant.com"

# 1. Block Sign-In
Update-MgUser -UserId $UserUPN -AccountEnabled:$false

# 2. Revoke active OAuth refresh tokens (Force sign-out)
Revoke-MgUserSignInSession -UserId $UserUPN

# 3. Convert User Mailbox to Shared Mailbox
Set-Mailbox -Identity $UserUPN -Type Shared

# 4. Delegate Mailbox Access to Manager
Add-MailboxPermission -Identity $UserUPN -User "manager@yourtenant.com" -AccessRights FullAccess -AutoMapping $true

# 5. Remove Paid License SKUs
$UserLicenses = (Get-MgUser -UserId $UserUPN -Property AssignedLicenses).AssignedLicenses
foreach ($License in $UserLicenses) {
    Set-MgUserLicense -UserId $UserUPN -RemoveLicenses @($License.SkuId) -AddLicenses @()
}

Write-Host "Offboarding completed successfully for $UserUPN" -ForegroundColor Green
            

7.2 Updating Default OneDrive Storage Quota to 5 TB

# Connect to SharePoint Admin Service
Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com"

# Set default quota for new users to 5TB (5242880 MB)
Set-SPOTenant -OneDriveStorageQuota 5242880

# Increase specific user's OneDrive to 5TB
Set-SPUserOneDriveQuota -User "poweruser@yourtenant.com" -Quota 5242880
            

Module 8: Top 5 Specialized M365 Workload Consoles

Below are the essential sub-consoles directly linked from the main M365 Admin Center (`admin.microsoft.com`):

Identity & Security

Entra Admin Center

Manages user synchronization, Group-Based Licensing rules, B2B guest permissions, Conditional Access, and App Registrations.

  • Primary URL: entra.microsoft.com
  • Core Focus: Identity & Access Management (IAM).
Email & Messaging

Exchange Admin Center

Configures shared mailboxes, transport rules, mail flow routing, anti-spam policies, room resources, and mailbox delegation.

  • Primary URL: admin.exchange.microsoft.com
  • Core Focus: Enterprise Email Infrastructure.
Collaboration & Voice

Teams Admin Center

Defines meeting policies, calling plans, team messaging restrictions, guest permissions, and Teams phone deployment.

  • Primary URL: admin.teams.microsoft.com
  • Core Focus: Unified Communications.
Content & Portals

SharePoint Admin Center

Manages site collection storage quotas, global tenant sharing permissions, unmanaged device access, and OneDrive settings.

  • Primary URL: yourtenant-admin.sharepoint.com
  • Core Focus: Intranet & Storage Architecture.
Endpoint & Devices

Intune Admin Center

Manages device enrollment (Windows, macOS, iOS, Android), device compliance policies, app deployment, and local device wipe.

  • Primary URL: intune.microsoft.com
  • Core Focus: Unified Endpoint Management (UEM).

Module 9: Interactive Knowledge Verification Quiz (20 Questions)

Test your operational mastery of the M365 Admin Console. When you submit your answers, the quiz will highlight correct choices in green, wrong choices in red, calculate your score, and display detailed explanations for every question.

1. What happens immediately when an administrator clicks "Block sign-in" on a user account in M365 Admin Center?

Correct Answer: B
Explanation: Blocking sign-in flips the `AccountEnabled` attribute to False. It prevents authentication without altering data or deleting user content.

2. Up to what storage limit can a converted Shared Mailbox be used WITHOUT purchasing an active Exchange Online license?

Correct Answer: C
Explanation: Shared Mailboxes up to 50 GB do not require an active license. If storage exceeds 50 GB, an Exchange Online Plan 2 license must be assigned.

3. How long does a deleted user account remain in the "Deleted users" container before hard-deletion occurs?

Correct Answer: A
Explanation: Accounts remain in soft-deleted state for 30 calendar days, during which they can be fully restored with licenses and settings intact.

4. Which group type provisions a Shared Mailbox, Shared Calendar, SharePoint Site, and Planner Board simultaneously?

Correct Answer: D
Explanation: A Microsoft 365 Group is a cross-workload collaboration group that automatically provisions an Exchange mailbox, calendar, SharePoint site, and team tools.

5. Why is Group-Based Licensing superior to direct manual license assignment in enterprise environments?

Correct Answer: B
Explanation: Group-Based Licensing integrates with Entra ID groups (dynamic or static) to ensure joining/departing employees get correct sub-service licenses automatically.

6. What is the fundamental difference between Teams External Access (Federation) and Guest Access?

Correct Answer: C
Explanation: External Access (Federation) enables chat/calls between separate tenant users. Guest Access provisions B2B guest identities inside your tenant for file and team site collaboration.

7. What is the default standard OneDrive for Business storage limit provisioned per user?

Correct Answer: A
Explanation: Default OneDrive storage is set to 1 TB (1024 GB) per user, which can be expanded to 5 TB by admins for eligible enterprise plans.

8. What SharePoint external sharing setting allows file links to be accessed by anyone without requiring logging in?

Correct Answer: D
Explanation: "Anyone" links are unauthenticated (anonymous) sharing links that allow whoever holds the URL to access or edit the shared file.

9. What occurs if a child SharePoint site collection is configured to allow "Anyone" sharing, but the global tenant setting is set to "Existing Guests Only"?

Correct Answer: B
Explanation: Global organization settings establish the maximum boundary. Individual site settings can be more restrictive than global settings, but never more permissive.

10. What PowerShell Cmdlet revokes a user's active sign-in sessions and invalidates refresh tokens instantly?

Correct Answer: C
Explanation: `Revoke-MgUserSignInSession` invalidates all active OAuth refresh tokens issued to browser sessions, mobile devices, and apps for that user ID.

11. What setting in M365 Admin Center allows IT to prevent personal accounts (e.g., personal @outlook.com) from signing into Teams on corporate devices?

Correct Answer: A
Explanation: Tenant Restrictions/Isolation injects headers into egress HTTP/S traffic to restrict application login screens to approved corporate tenant IDs only.

12. Which group type cannot be assigned permissions to secure a SharePoint file directory or folder?

Correct Answer: D
Explanation: Distribution Lists are solely used for email routing. They do not have security SID representations in Entra ID and cannot be used in ACLs or permission assignments.

13. What maximum storage limit can an IT admin set for a single user's OneDrive using standard PowerShell commands before contacting Microsoft Support?

Correct Answer: B
Explanation: On eligible Enterprise plans with 5+ users, admins can increase individual user OneDrive quotas up to 5 TB directly via PowerShell.

14. How can administrators configure SharePoint access for unmanaged personal devices to allow web browsing while blocking file downloads?

Correct Answer: C
Explanation: "Allow Limited, Web-Only Access" uses Entra Conditional Access and SharePoint session controls to let users view files in Office Online while preventing printing, downloading, or local sync.

15. Which specialized admin portal is accessed via `admin.exchange.microsoft.com`?

Correct Answer: A
Explanation: `admin.exchange.microsoft.com` connects administrators to the Exchange Admin Center for managing mailboxes, transport rules, and mail flow.

16. What setting prevents an M365 license from being wasted when an employee leaves the company?

Correct Answer: D
Explanation: Converting to a Shared Mailbox preserves the email history without requiring an active license, allowing the paid license SKU to be reassigned to a new user.

17. What syntax formats a Dynamic Group Membership Rule in Entra ID to target all members with "Manager" in their Job Title?

Correct Answer: B
Explanation: Entra ID dynamic membership rules use property operators like `-contains`, `-eq`, or `-startsWith` enclosed in parentheses.

18. How can an administrator assign OneDrive access of a departing user to their direct manager during account cleanup?

Correct Answer: C
Explanation: The User Details pane in M365 Admin Center features a "Create link to files" button under the OneDrive tab, granting specified users Site Collection Admin rights to that OneDrive.

19. Which URL opens the Microsoft Teams Admin Center directly?

Correct Answer: A
Explanation: `admin.teams.microsoft.com` connects administrators to the dedicated Microsoft Teams Admin Center console.

20. How do M365 Admin Center, Exchange, Teams, SharePoint, and Entra ID fit together in cloud infrastructure?

Correct Answer: D
Explanation: Entra ID anchors identities centrally while M365 Admin Center coordinates licensing, users, and core settings across specialized sub-workload engines.

Explore More Free Guides — Bora Academy

🛡️
Practical VAPT
Field Notes, OWASP & Interview Prep
🌐
Secure Web Gateway (SWG) & SSE
Cloud-delivered web security & SSE architecture
🔥
Next-Generation Firewalls (NGFW)
Deep packet inspection, policies & deployment
📱
Mobile Device Management (MDM) & UEM
Enterprise device fleet management
← Back to All Guides (Bora Academy Home)