Azure App Registration for using a Certificate for Authentication

This post explains how to create an Azure App Registration that will be used by applications that will authenticate using a digital certificate. To use a certificate for authentication with Microsoft Graph (or any other service that supports OAuth2 client credentials flow with certificates), you typically follow the App-Only Authentication method. This method is used when you’re performing tasks as […]

How Long can an OAuth2 Access Token be Refreshed?

The ability to refresh an OAuth2 access token using a refresh token depends on the following factors: The Expiration of the Refresh Token: Refresh tokens typically have longer lifetimes than access tokens, and in some cases, they may not expire at all (until revoked). However, some authorization servers issue refresh tokens with expiration times. The expiration time can vary depending […]

Chilkat v10.0.0 Release Notes

Previous Version: Chilkat v9.5.0.99 Release Notes/ Semantic Versioning: Chilkat finally moves to standard semantic versioning. See the information about Chilkat Semantic Versioning starting in v10.0.0. Apple Keychain Integration: Chilkat is fully integrated with the Apple Keychain, including HSMs (USB tokens and smartcards).  This includes both MacOS and iOS.  Documentation and examples will be forthcoming and this release notes entry will […]

Send Email from Hotmail.com, Live.com, or Outlook.com

Question:  I want my desktop application (or script) to send email from my Hotmail.com account (or my Live.com or Outlook.com account).  My application will connect to the SMTP server for hotmail.com, authenticate using OAuth2, and send the email.  I want to use Chilkat’s MailMan class to do it.  I’m completely lost.  Where do I even begin? Answer: I fully understand […]

What is the Microsoft OAuth2 Authorization Endpoint?

(back to Send Email from Hotmail.com, Live.com, or Outlook.com) The Microsoft OAuth2 authorization endpoint is the URL where users are redirected to authorize your application and give it permissions to access their resources (such as email, calendar, etc.) using Microsoft’s OAuth2 protocol. Authorization Endpoint (for Microsoft Identity Platform): https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize Explanation: {tenant}: This specifies the Azure Active Directory (Azure AD) tenant […]

Creating an App Registration w/ Client ID for OAuth2 Authentication for Hotmail.com, Live.com, or Outlook.com

(back to Send Email from Hotmail.com, Live.com, or Outlook.com) To create an App Registration in Entra ID (formerly known as Azure Active Directory or Azure AD)  you need a Microsoft work or school account. This is typically associated with an Azure AD tenant, and it provides the necessary permissions to access Entra ID features. Here’s what you need: 1. Microsoft […]

Is username@live.com the same email account as username@hotmail.com?

(back to Send Email from Hotmail.com, Live.com, or Outlook.com) No, “username@live.com” and “username@hotmail.com” are not the same email account, even though both are part of Microsoft’s email services. Each email address is unique, and the part after the “@” (the domain) differentiates the accounts. Key Differences: “@live.com”: This domain was introduced by Microsoft in 2005 as part of its Windows […]

Is Hotmail.com the same as Live.com?

(back to Send Email from Hotmail.com, Live.com, or Outlook.com) Yes, hotmail.com and live.com are both part of Microsoft’s family of email services and essentially refer to the same backend infrastructure, although they originated from different services. Key Points: Hotmail: Originally launched in 1996 as one of the first free webmail services. Acquired by Microsoft in 1997 and eventually integrated into […]

SMTP Server Settings for Hotmail.com, Live.com, and Outlook.com

(back to Send Email from Hotmail.com, Live.com, or Outlook.com) The SMTP settings for Hotmail.com, Live.com, and Outlook.com are the same because all these email domains are part of Microsoft’s unified Outlook email service, which uses the same mail servers. Here are the SMTP settings: SMTP Server Settings (for sending email): SMTP Server: smtp.office365.com Port: 587 Encryption: STARTTLS Requires Authentication: Yes […]

HTTP request for a SOAP web service using WS-Security 1.0 with a digital certificate for authentication

This article will Explain the format and content of an HTTP request for a SOAP web service using WS-Security 1.0 with a digital certificate for authentication Describe the steps for writing code that loads the certificate and private key, constructs the XML, signs the XML, and then constructs the HTTP request and sends it. Provides links to examples that demonstrate […]