Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Hi @Dave
You don’t need to upgrade your Visual Studio subscription to test Microsoft Graph with email. The simplest and most reliable approach is to use the Microsoft 365 Developer Program: Developer Program | Microsoft 365 Dev Center.
Even with a Visual Studio Professional monthly subscription, you are still eligible to join. Visual Studio Professional and Enterprise subscribers qualify for a free Microsoft 365 E5 developer subscription as mentioned in Microsoft 365 Developer Program FAQ | Microsoft Learn.
You'll get:
- A free Microsoft 365 E5 tenant
- Exchange Online mailboxes
- Up to 25 test users
- Full Microsoft Graph support for mail scenarios
This provides a realistic, isolated environment specifically designed for development and testing without requiring any additional licensing.
The error message you’re seeing no_tokens_found is an authentication issue where the Azure portal cannot retrieve a valid token from the session cache.
More importantly, Microsoft Graph, especially for mail access, requires a Microsoft Entra ID (Azure AD) tenant. This is because access tokens are always issued in the context of a specific tenant, and both app registrations and permission grants are tied to that tenant environment. Personal Outlook accounts do not provide a full tenant-backed environment in the same way that an Entra ID tenant does. As a result, they can lead to authentication inconsistencies in Azure, including the issue you are encountering.
You can read more at Join the Microsoft 365 Developer Program with a Visual Studio Professional or Enterprise subscripti…
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.