The Office 365 admin portal does not provide a way to create customized reports.Ī PowerShell script can retrieve the same data using the following command along with any desired filters: Get-MailTrafficTopReport Administrators have no way to filter the data, forcing them to export the results to a CSV file and then use Microsoft Excel or another spreadsheet tool to narrow the results to the specific users they need. The screenshot here shows user email statistics from the usage report section of the admin portal. PowerShell's capabilities make quick work of changes that would take a significant amount of time and effort from the admin portal. Exchange Online's PowerShell commands, especially the ones in Microsoft's Exchange Online PowerShell V2 module, perform bulk tasks and activities quickly, even when dealing with thousands of mailboxes. The portal reports section is limited to productivity score and usage, making it difficult to get more granular information. PowerShell excels at reporting in Office 365Īnother area where the Microsoft 365 admin center is more limited than PowerShell is reporting. Write-host "Info: The site collection $($toBeDeleted) has been removed" -foregroundcolor green Remove-SPOSite -Identity $siteExists -NoWait -confirm$false #remove web if site isn't an site collection Get-Content "C:\My Documents\Accounts.txt" | ForEach The file format should be in plaintext email addresses. The following PowerShell script reads the list of users to edit, then performs the action on each of the email addresses or accounts listed in the file. There is no limitation to look up users by name. PowerShell does not have the drawbacks of the admin portal. This limit makes it almost unusable for large enterprise accounts. To disable multiple names at once requires scrolling down and searching visually for the name, not by keyword. The web admin portal does not allow searching for additional users after this selection process. Next, select the edit sign-in status option.
The method of manually selecting the users in the admin portal to change their sign-in status is a slow process. Depending on the list size, this task could take a long time.
The admin selects one name at a time from the grid. To disable the sign-in for a large list of users from the web portal involves making changes from the active users section. The changes will sync with Office 365 to disable those accounts, but some tenants may want to maintain some accounts in Active Directory while disabling their sign-in to Office 365. Limiting accounts from accessing the admin portal area can be done in Active Directory.
#Office 365 admin login how to
How to disable access to the Office 365 portal Some of these activities include getting a list of licensed users with disabled accounts, generating a list of users with multifactor authentication enabled, disabling multiple accounts or deleting a SharePoint site that has several subsites. PowerShell is ideally suited for a range of repetitive tasks not suited to run from the admin portal. It is capable of small tasks, such as sending a restart command to a remote server or extracting a list of unlicensed users from the Office 365 platform. PowerShell is Microsoft's command-line shell scripting language designed to assist administrators who manage and configure Microsoft services and products. Areas where PowerShell outshines the admin center There are times when the admin portal is slow to respond, which makes PowerShell another option if a time-sensitive project requires quick attention. Administrators will find they can use PowerShell scripts to handle most of their day-to-day administrative tasks - in some cases, with even more capabilities than the admin center. Rather than navigate through the numerous pages to perform recurring tasks through a browser, PowerShell scripting might be the best tool to support a more efficient and automated approach.Ĭhanges to the web management console outpace available study guides, requiring many administrators to turn to video tutorials, blog posts and exploring the site to learn how to use the new management functionality. Administrators need to be vigilant to find new screens and options within the portal to manage security, compliance and administration of all Office 365 services. Microsoft continues to expand the number of enhancements and new features to Office 365, revamping the admin portal constantly.