OAuth 2.0 Support for IMAP and POP3

In the recent months, Exchange online deprecated basic authentication with the IMAP and POP3 protocols requiring the switch to OAuth 2.0 authentication for the two protocols. Here’s a sample application demonstrating methods of authenticating with OAuth and IMAP/POP3 with an interactive login. The code utilizes a library called MailKit which manages creating the authentication wrapper.…

By JeremyBrooks April 14, 2023 0

Azure PowerShell Functions in Azure Government

When working with services in Azure Government, often times Azure Government endpoints have to be specified as the defaults for Azure CLI, PowerShell, the Azure SDKs, ect all will default to use the commercial endpoints. This is the same for Azure Functions. To run Azure PowerShell functions to execute the AZ commandlets add the -Environment…

By JeremyBrooks September 8, 2022 0

Querying Resources in Azure Graph

I had a customer reach out requesting how to query all certificates across all subs and figure out when they are expiring. Using Azure Resource Graph I came up with the query below that searches for all app services, find the bindings, and matches those apps up with the Microsoft.web/certificate object. Azure Graph is a…

By JeremyBrooks February 18, 2022 0

Root Certificates on Windows

I’m far from a PKI expert so I won’t be going into much detail as a lot of information around certificates can be found through a web search. I spent a considerable amount of time debugging an issue related to certificates and the trusted root store on Windows and I didn’t find much documentation discussing…

By JeremyBrooks January 9, 2022 0