Close Menu
    What's Hot

    Windows Update Troubleshooter Missing? What to Use Instead

    November 5, 2026

    How to Improve Blurry Smartphone Videos Before Sharing Them

    November 4, 2026

    [Fixed] VirtualBox Slow on Windows 11 Host (Green Turtle Icon)

    November 4, 2026
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Data
      • Calculators and tools
      • Statistics
      • Reference tables
    SysprobsSysprobs
    Home»Cloud»How to Connect Office 365 Security Center by PowerShell from Windows 11/10

    How to Connect Office 365 Security Center by PowerShell from Windows 11/10

    DineshBy Dinesh
    Share
    Facebook Twitter LinkedIn Pinterest Email

    If you are an Office 365 administrator, you need to connect to the O365 Security and Compliance Center via PowerShell for specific functions. PowerShell connection provides various extensive activities that you can’t do via the web browser/GUI.

    In this article, let me show you how to connect the Office 365 Security and compliance center first time on a Windows 11 computer. Obviously, these steps are applicable for Windows 10 and earlier versions also.

    If you have already used the same computer to connect the Office 365 via PowerShell before, you can skip a few steps. But overall, these are the steps you must follow on a new computer if you are trying it the first time.

    Steps to Connect Office 365 Security Center by PowerShell

    1) Open the PowerShell as administrator and enter the below command. This enables remote sign-in which will allow executing a few scripts and commands later.

    Open PowerShell As Admin
    Set-ExecutionPolicy RemoteSigned

    2) Type and run the below command to install the required packages.

    Install-PackageProvider -Name NuGet -Force
    Install PackageProvider

    It is better to close and open the PowerShell now.

    3) Then provide this command to install relevant Exchange online modules.

    Install-Module -Name ExchangeOnlineManagement
    PowerShell Install Exchange Module

    4) Based on the geographical location that your Office 365 tenant hosted, you need to enter the URL in connection Uri.

    Usually, it should work without any additional URL key if you have a standard O365 tenant without any specific geographical restrictions.

    You can find more information here from Microsoft.

    So, here is my example command:

    Connect-IPPSSession -UserPrincipalName testacc@sysprobs.com

    The user account should have global administrative access to the Office 365 tenant.

    Connect O365 Security Center

    This will pop up for the password screen; provide it to continue further.

    Once the correct password is provided, it will establish the connection.

    5) How to check whether we are connected to Office 365 security and compliance center?

    Just execute the below command to verify the existing policies.

    Get-RetentionCompliancePolicy
    Check The Compliance Center Policies

    Now you can carry out the desired tasks in this PowerShell session.

    6) Once all tasks are completed, it is recommended to disconnect the active session properly with the below command.

    Disconnect-ExchangeOnline

    7) Also, as you can remember, we enabled the Remote sign-in in the first step. Now we can revert to default settings to make your computer or server protected.

    Execute the below command to disable the remote sign in PowerShell.

    Set-ExecutionPolicy -ExecutionPolicy Restricted

    There you go, now we know how to connect the Office 365 security and compliance centre from PowerShell in a new Windows 11/10 computer. Do let us know how this guide is useful and what other alternative steps you followed to accomplish this similar task.

    cloud Office 365
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    Scan to Email Is Slowing Down Your Mail Server

    October 30, 2026

    Entra Dynamic Group memberOf Rules: How to Find, Replace or Convert Them

    October 30, 2026

    EWSAllowedAppIDs: Find EWS Apps and Set the Allow List

    October 26, 2026

    Thumbs Up Keyboard Shortcut in Outlook (Emoji Panel, Alt+X and Reactions)

    October 25, 2026

    How to Refresh Outlook (F9, Sync Button, Auto Refresh and Fixes)

    October 21, 2026

    Microsoft Graph PowerShell Tutorial: Install, Connect and Do Real M365 Admin Tasks

    October 15, 2026

    Comments are closed.

    Top Posts

    Where is the Outlook QR code? How to Use?

    February 16, 2024

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025

    Download and Use Windows 7 Pre-Installed VirtualBox Image

    May 3, 2022
    Don't Miss

    Windows Update Troubleshooter Missing? What to Use Instead

    November 5, 2026

    Windows Update troubleshooter missing or not working in Windows 11? See where it went, how to run it, and what to use when it finds nothing.

    How to Improve Blurry Smartphone Videos Before Sharing Them

    November 4, 2026

    [Fixed] VirtualBox Slow on Windows 11 Host (Green Turtle Icon)

    November 4, 2026

    How Agencies Can Upsell Without Being Pushy

    November 3, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    Windows Update Troubleshooter Missing? What to Use Instead

    November 5, 2026

    How to Improve Blurry Smartphone Videos Before Sharing Them

    November 4, 2026

    [Fixed] VirtualBox Slow on Windows 11 Host (Green Turtle Icon)

    November 4, 2026
    300x250 001 English PCRepairKit Yakusheva
    UP NEXT FOR YOU
    • ImageWindows Update Troubleshooter Missing? What to Use Instead
    • ImageHow to Improve Blurry Smartphone Videos Before Sharing Them
    • VirtualBox VMs Are Too Slow On Windows 11[Fixed] VirtualBox Slow on Windows 11 Host (Green Turtle Icon)

    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and system administrators. We publish practical, battle-tested guides for the people who run Microsoft infrastructure — Windows, Windows Server, Active Directory, Entra ID, Intune, Exchange, and virtualization. Real fixes for real production problems, written by people who've actually hit them.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Information
    • About
    • Contact Us
    • Homepage
    • Privacy Policy
    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.