• Home
  • Topics
    • Office 365
    • Teams
    • SharePoint Online
    • Exchange 2019
    • Exchange 2016
    • Exchange 2013
    • Hybrid
    • Certificates
    • PowerShell
    • Migration
    • Security
    • Azure
  • Blog
  • Podcast
  • Webinars
  • Books
  • About
  • Videos
    • Interview Videos
    • How To Guide Videos
  • Subscribe
    • Facebook
    • Twitter
    • RSS
    • YouTube

Practical 365

Read articles and blog posts about PowerShell on Practical365.com.

Creating Personal Contacts in User Mailboxes with PowerShell and the Graph

June 15, 2021 by Tony Redmond 9 Comments

PowerShell Microsoft Graph

An earlier article explained how to create organizational contacts in user mailboxes with Graph API calls. This article builds on that idea with three improvements. First, we select target mailboxes for update by looking for those added in the last month. Second, we allow any mail-enabled recipient to be added as an organizational contact. Third, we incorporate some code to check if a contact already exists in a mailbox. Like anything with PowerShell, this code can be improved..

Blog, Exchange Online, Microsoft Graph, PowerShell Microsoft Graph API, Organization contacts, PowerShell

Moving on from Send-MailMessage: Sending Email from PowerShell using the Graph API

June 8, 2021 by Tony Redmond 18 Comments

PowerShell Microsoft Graph

Many PowerShell scripts use the Send-MailMessage cmdlet to send mail. That’s fine, but if you want to remove basic authentication to improve tenant security, you need to stop using Send-MailMessage. One solution is to move to use the Graph API SendMail call. This works fine, but it creates some new security issues that need to be thought through. In this article, we explain how to use the Graph to send email and some of those security considerations to ponder.

Blog, Exchange Online, PowerShell Basic authentication, Exchange Online, Microsoft Graph API, PowerShell, Send-MailMessage, SendMail, SMTP AUTH

Getting Exchange Online Distribution List Membership Counts with PowerShell

June 7, 2021 by Tony Redmond 12 Comments

Exchange Online Powershell

It’s important to know if a tenant has any very large distribution lists as these might be the source of reply-all mail storms. An old article explains how to report the membership counts for distribution lists on an on-premises Exchange server. Life is different in the cloud, and we need to take a different approach. This article explains how to use different calls in a PowerShell script to create a nice report about distribution list memberships.

Blog, Exchange Online, PowerShell Distribution Groups, Distribution lists, Get-AzureADGroupMember, Get-DistrubutionGroup, Membership count, PowerShell

Creating Custom B2B Guest User Invitations with Graph API

June 2, 2021 by Sean McAvinue 1 Comment

Azure Automation

Azure AD business-to-business guest user accounts are a terrific way to securely grant access to apps and services for external users and partner organizations. In this article, a script is introduced that can be used to automate the guest user invitation process, integrating it more seamlessly with any custom applications.

Azure Active Directory, Blog, Microsoft 365, Microsoft Graph, PowerShell Automation, Azure AD Business to Business, Guest User accounts, Microsoft Graph API, Powershell Script

How to Block User Access to Microsoft 365 Accounts

June 1, 2021 by Tony Redmond 6 Comments

Azure AD

A variety of methods exist to block access to a user’s Office 365 (Azure AD) account from a complete block to a conditional access policy. In this article, we examine the various methods and debate the worth of each approach. Conditional access policies are the cleanest and most effective long-term solution, but you need Azure AD premium licenses. If you don’t have those licenses, maybe one of the other approaches will work for you.

Azure Active Directory, Blog, Microsoft 365, PowerShell Azure AD, Conditional Access, Disable account, Get-AzureADGroup, Get-AzureADMSConditionalAccessPolic, PowerShell, Set-AzureADMSConditionalAccessPolicy, Set-AzureADUser

  • « Previous Page
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • Next Page »

Recent Articles

  • Changes in Microsoft 365 Apps Channels and Why You Should Care
  • A New Tool to Manage Exchange-related Attributes Without Exchange Server
  • Microsoft Launches Group Ownership Governance Policy
  • Making the Case for Identity Governance in Azure Active Directory
  • Prepare an Office 365 migration plan assessment using PowerShell

Copyright © 2022 Quadrotech Solutions AG · Disclosure · Privacy Policy
Alpenstrasse 15, 6304 Zug, Switzerland