Quantcast
Channel: Glen's Exchange and Office 365 Dev Blog
Browsing latest articles
Browse All 240 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Modifying 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 Article

Modifying 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 Article

Using 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 Article

Image may be NSFW.
Clik here to view.

Modifying 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 Article


Graph 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 Article

Image may be NSFW.
Clik here to view.

Testing 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

Creating 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

Reporting 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 Article

Image may be NSFW.
Clik here to view.

Looking 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 Article


Finding 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 Article

Using 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 Article


Auditing 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Using 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 Article

Migrating 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 Article

Sending 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 Article


Sending 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 Article


Using 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 Article

Migrating 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 Article

Important 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

Browsing latest articles
Browse All 240 View Live




Latest Images