Graph Mailbox Basics with PowerShell Part 1 Folders
I haven't done a basics series for a while but based on some of the questions I've been getting lately and the lack of some good Mailbox specific examples for basic but more complex tasks using the...
View ArticleModifying your EWS Managed API code to use Hybrid Modern Authentication...
In this post I'm going to look at what you need to do in your EWS Managed API code to support using Hybrid Modern Authentication where previously you've been using Basic or Integrated Authentication...
View ArticleModifying your EWS WSDL Proxy Code for Modern Authentication
This is a follow-on from my last post on Modifying your EWS Managed API code to use Hybrid Modern Authentication against OnPrem Mailboxes . If instead of the EWS Managed API you are using EWS Proxy...
View ArticleUsing 2 Authentication factors (for MFA) in an unattended PowerShell Script
MFA (Multi Factor Authentication) is great at making the Authentication process more secure in Exchange Online but can be challenging in Automation scenarios. I originally wrote this code for something...
View ArticleModifying your Exchange Online PowerShell Managed Code to use oAuth and MSAL
While not as popular these days many .net developers may have in the past used Managed code to run Exchange Online PowerShell cmdlets to do things like assign Mailbox Permissions or run other EXO...
View ArticleGraph Basics Get the User Photo and save it to a file (and resize it) with...
This is part 2 of my Graph Basic's series and this post is born out of an actual need that I had over the last week which was to get a user photo from the Microsoft Graph and save it as a custom size...
View ArticleTesting and Sending email via SMTP using Opportunistic TLS and oAuth in...
As well as EWS and Remote PowerShell (RPS) other mail protocols POP3, IMAP and SMTP have had OAuth authentication enabled in Exchange Online (Official announcement here). A while ago I created this...
View ArticleHow to Approve and Reject Moderation Emails in Exchange Online with the...
A while ago I published this blog post about doing this using EWS and a few people have recently asked if it is also possible to do this with the Graph API(which it is) so I've decided to include this...
View ArticleThe MailboxConcurrency limit and using Batching in the Microsoft Graph API
If your getting an error such as Application is over its MailboxConcurrency limit while using the Microsoft Graph API this post may help you understand why.Background The Mailbox concurrency limit...
View ArticleCreating a Mailbox Search Folder based on a Message Category using the...
Searching on the Categories property of an Email can pose a challenge because this property is a Multi-valued String property (which aren't that common in email) eg in a Message the property may look...
View ArticleHow to access and restore deleted Items (Recoverable Items) in the Exchange...
As the information on how to do this would cover multiple posts, I've bound this into a series of mini post docs in my GitHub Repo to try and make this subject a little easier to understand and...
View ArticleReporting on the Favorites Shortcut items in Outlook, OWA and Outlook Mobile...
One of the email UI features that I find the most useful in Outlook on the Web and Outlook mobile is the People favorites feature which saves having to do a search for historical email from particular...
View ArticleLooking at raw Mailbox analytics data using EWS and a ChangeDiscovery script
Mailbox analytics is something Microsoft have been working on for a number of years and its seems to be something that has received a little more effort in these pandemic times. If you have ever looked...
View ArticleFinding Emails in a Mail Folder older then a specific date using the...
If you are doing any archiving, clean-up or just searching for Messages that are older then a specific date you will need to make use of a filter on the receivedDateTime. The receivedDateTime...
View ArticleUsing Shared Mailboxes in the Microsoft Graph API from PowerShell
I've created a few new Binder entries in GitHub for using Shared Mailboxes in the Graph API using PowerShellThe Binder index is https://gscales.github.io/Graph-Powershell-101-Binder/ The topics covered...
View ArticleAuditing Inbox rules (and looking for hidden rules) with EWS in OnPrem Exchange
After the events of the last weeks around the latest zero day vulnerabilities in Exchange and once you've finished cleaning up any back doors that may have been left on servers its a good idea to...
View ArticleUsing the Tag for external email messages received feature in the Microsoft...
The "Tag for external email messages received" feature was introduced into Office365 recently to help people better to identify mail that comes from external sender vs internal sender see this for more...
View ArticleUsing Out of Office / automaticRepliesSetting with the Microsoft Graph with...
Out of Office (or automaticRepliesSetting) can be used for a vast number of different applications. For example in this Teams In/Out board With the Microsoft Graph API there are two ways that can be...
View ArticleUsing Batching to improve the speed of Contact creation in the Microsoft Graph
There's been a few contact creation scripts popup recently for the Graph API like this as well as a few questions on the forums around this topic lately. None of these examples and questions are taking...
View ArticleMigrating Exchange Web Services (EWS) Directory and Recipient resolution code...
One of the more complex things to migrate in EWS when migrating to the Graph API is any directory access code that uses one of the following EWS operationsFindPeopleResolveNameExpandGroup (ExpandDL)or...
View ArticleSending a MimeMessage via the Microsoft Graph using the Graph SDK, MimeKit...
One of the new features added to the Microsoft Graph recently was the ability to create and send Mime Messages (you have been able to get Message as Mime for a while). This is useful in a number of...
View ArticleSending a Message with a Large attachment using the Microsoft Graph and...
Sending a message with a large attachment used to be the least worst option when it came to shipping data between people. In the Modern workplace where document and file sharing options are a lot...
View ArticleUsing MSAL in the EWS Managed API and doing auto token expiration and renewal...
With the full depreciation of Basic Authentication around the corner I've put together a Github doc to show one implementation of using MSAL with the EWS Managed API that supports both Hybrid Modern...
View ArticleMigrating your Mailbox searches in EWS to the Graph API Part 2 KQL and new...
This is part 2 of my blog post on migrating EWS Search to the Graph API, in this part I'm going to be looking at using KQL Searches and using the new Microsoft Search API (currently in Beta). The big...
View ArticleImportant change to EWS access to Microsoft Teams data
Microsoft have annouced they will be restricting access to Microsoft Teams data via EWS from the 30th September see...
View Article