Microsoft Graph API Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Wed, 06 Sep 2023 16:42:03 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft Graph API Archives - Practical 365 32 32 How to migrate on-premises application mailboxes to Exchange Online https://practical365.com/how-to-migrate-on-premises-application-mailboxes-to-exchange-online/ https://practical365.com/how-to-migrate-on-premises-application-mailboxes-to-exchange-online/#respond Thu, 16 Dec 2021 17:19:52 +0000 https://practical365.com/?p=54562 Migrating application mailboxes to Exchange Online is critical for any migration project, and thorough planning is required since application mailboxes often serve vital business functions. It’s imperative to gather the details outlined in this article prior to updating internal application code, or test feature functionality of third-party products.

The post How to migrate on-premises application mailboxes to Exchange Online appeared first on Practical 365.

]]>
https://practical365.com/how-to-migrate-on-premises-application-mailboxes-to-exchange-online/feed/ 0
Connecting to the Microsoft Graph Using the PowerShell SDK https://practical365.com/connect-microsoft-graph-powershell-sdk/ https://practical365.com/connect-microsoft-graph-powershell-sdk/#comments Thu, 23 Sep 2021 13:11:30 +0000 https://practical365.com/?p=53483 The Microsoft Graph SDK for PowerShell exists to help developers use Graph API calls from PowerShell. It works, but like anything in life, there's a right way to connect and use the SDK and a wrong way. In this article we explore topics like how to connect to the right tenant, how permissions are managed (or not), and why running Graph SDK cmdlets interactively isn't something you should do in production. Good as the SDK is, Microsoft has some big issues to solve to address some obvious security issues.

The post Connecting to the Microsoft Graph Using the PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/connect-microsoft-graph-powershell-sdk/feed/ 43
Microsoft to Retire Old Exchange Admin Center in Office 365 Next Year https://practical365.com/microsoft-retirement-old-eac-september-2022/ https://practical365.com/microsoft-retirement-old-eac-september-2022/#comments Tue, 14 Sep 2021 06:46:00 +0000 https://practical365.com/?p=53366 Microsoft plans to retire the now-decrepit and very old EAC on September 1, 2022. The old console has hung on too long, perhaps because Microsoft hasn't progressed the development of its replacement as quickly as they could have since its 2019 debut. Although Microsoft claims that the new EAC reached feature parity with the old some time ago, any examination of the two consoles proves that this is not the case. With that in mind, it seems like Microsoft has some work to do to make everything ready for the big retirement date in 2022.

The post Microsoft to Retire Old Exchange Admin Center in Office 365 Next Year appeared first on Practical 365.

]]>
https://practical365.com/microsoft-retirement-old-eac-september-2022/feed/ 3
Using the Service Communications API to Report Service Update Messages https://practical365.com/service-update-messages-report/ https://practical365.com/service-update-messages-report/#respond Fri, 23 Jul 2021 07:31:00 +0000 https://practical365.com/?p=52702 The Office 365 Service Communications API allows tenant access to service update message data, just like you see in the Microsoft 365 admin center. This article explores how to use the API to fetch service messages and report them in different formats, including HTML and even as a Word document.

The post Using the Service Communications API to Report Service Update Messages appeared first on Practical 365.

]]>
https://practical365.com/service-update-messages-report/feed/ 0
How to Report Teams Channel Storage with Microsoft Graph API and PowerShell https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/ https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/#respond Thu, 15 Jul 2021 07:03:00 +0000 https://practical365.com/?p=52771 Within large organizations utilizing Teams, generating reports on channel storage and then migrating this data is extremely difficult. To help map out how Teams uses SharePoint, this article introduces a simple Graph API/PowerShell script to report Teams channels and their SharePoint locations and walks you through the steps so you can run the report yourself.

The post How to Report Teams Channel Storage with Microsoft Graph API and PowerShell appeared first on Practical 365.

]]>
https://practical365.com/how-to-report-teams-channel-storage-with-microsoft-graph-api-and-powershell/feed/ 0
Microsoft Is Moving the Office 365 Service Communications API to the Graph https://practical365.com/moving-office365-service-communications-api-graph/ https://practical365.com/moving-office365-service-communications-api-graph/#comments Thu, 15 Jul 2021 04:16:00 +0000 https://practical365.com/?p=52664 Microsoft is moving the Office 365 Service Communications API to the Microsoft Graph. The new API is in public preview. Converting PowerShell scripts from the old API to the new isn't particularly difficult if you have ever worked with the Graph before. As always, the devil is in the detail, but persistence and some mild swearing should be enough to get scripts over the line. This article explores how to use the new API to fetch and report details of service incidents.

The post Microsoft Is Moving the Office 365 Service Communications API to the Graph appeared first on Practical 365.

]]>
https://practical365.com/moving-office365-service-communications-api-graph/feed/ 9
Upgrading PowerShell Scripts with Azure AD Cmdlets to Use Graph API Calls https://practical365.com/upgrade-azuread-ps-scripts-graph/ https://practical365.com/upgrade-azuread-ps-scripts-graph/#respond Wed, 07 Jul 2021 05:18:00 +0000 https://practical365.com/?p=52601 Microsoft has announced that they won't support the Azure AD Graph after June 30, 2022. This means that the Azure AD PowerShell module won't be supported either. With that in mind, it's probably a good idea to think about how to upgrade scripts to use Graph API calls instead of Azure AD cmdlets. In this article, we take a script created to count members in distribution lists and convert it to use the Graph. As it turns out, the Graph bit is easy. It's all the housekeeping beforehand that takes the time.

The post Upgrading PowerShell Scripts with Azure AD Cmdlets to Use Graph API Calls appeared first on Practical 365.

]]>
https://practical365.com/upgrade-azuread-ps-scripts-graph/feed/ 0
Office 365 10-Year Anniversary Series: Powering Through PowerShell https://practical365.com/office-365-10-year-anniversary-series-powering-through-powershell/ https://practical365.com/office-365-10-year-anniversary-series-powering-through-powershell/#respond Fri, 02 Jul 2021 07:00:00 +0000 https://practical365.com/?p=52580 The fifth and final article in a continuation of our weekly series celebrating the 10-year anniversary of Office 365, Microsoft MVP Vasil Michev shares how the Exchange Online Remote PowerShell experience proved to be limitless for his career.

The post Office 365 10-Year Anniversary Series: Powering Through PowerShell appeared first on Practical 365.

]]>
https://practical365.com/office-365-10-year-anniversary-series-powering-through-powershell/feed/ 0
Creating Personal Contacts in User Mailboxes with PowerShell and the Graph https://practical365.com/create-org-contacts-powershell-graph/ https://practical365.com/create-org-contacts-powershell-graph/#comments Tue, 15 Jun 2021 08:08:00 +0000 https://practical365.com/?p=52227 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..

The post Creating Personal Contacts in User Mailboxes with PowerShell and the Graph appeared first on Practical 365.

]]>
https://practical365.com/create-org-contacts-powershell-graph/feed/ 41
Moving on from Send-MailMessage: Sending Email from PowerShell using the Graph API https://practical365.com/upgrade-powershell-scripts-sendmailmessage/ https://practical365.com/upgrade-powershell-scripts-sendmailmessage/#comments Tue, 08 Jun 2021 07:22:00 +0000 https://practical365.com/?p=52220 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.

The post Moving on from Send-MailMessage: Sending Email from PowerShell using the Graph API appeared first on Practical 365.

]]>
https://practical365.com/upgrade-powershell-scripts-sendmailmessage/feed/ 36