-
O365 and Exchange 2016/Exchange 2013: Understanding the UserPhoto API
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. We recently had an issue for an Enterprise Cloud customer, in which the photo was not rendering for the user – which was uploaded to AD (and synced over via MMSSPP to the managed…
-
2017 Project: Documented Code Samples
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. In an effort to empower more people across the planet to learn, but for it not to be an arduous journey in doing so, I’ve started heavily commenting code so that people can learn…
-
EXODSnapIn: Alpha Release
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. I wanted to write a post about the project I’ve been working on since circa December 2015. It’s approximately 1200 lines of code and 18 commands – all varying in intended design/function. The assembly
-
C# + AD: Dump COM and Use System.DirectoryServices.Protocols with LINQ to Query AD
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. A while back, I posted about using ADSI COM to get the data that you wanted. I want to show you how you can do this 10 times faster, using System.DirectoryServices.Protocols and LINQ. Class…
-
Debugging: When Recursive NDRs Bring the FSC to It’s Knees And Causes Queuing
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. A while back (circa July 2015), we had alerting for queuing for a Dedicated customer. When we went and looked, the messages were just sitting in the Submission queue. We dumped the EdgeTransport proc
-
PowerShell + C#: Accessing the Current Runspace And Adding a Snap-In
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. I’ve been coding an assembly for import into the Exchange Management Shell (EMS) in C# for some time. One of the problems that I ran into was how to load the Support assembly, since…
-
C#: Returning ADSI COM Properties of a User Object (Or Any Object, Really)
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. A few months ago, I was working on a project to query for specific AD properties of a user-object programmatically. I knew the properties I wanted to return and I had worked with returning…
-
O365: Accessing Another Mailbox via OWA URL
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. It may become necessary for an admin or delegate to access a mailbox (other than their own) in OWA. There’s two ways to do this and most people are familiar with the change in…
-
Server2012: Adding DAG Member Results in ‘The fully qualified domain name for node ‘EMEA-SWEEX15-01′ could not be found.’
NOTE: This post – drafted, composed, written, and published by me – originally appeared on https://blogs.technet.microsoft.com/johnbai and is potentially (c) Microsoft. To get around this, add the permissions by following this article for pre-staging the Cluster Name