Share via

Options for testing against the MS Graph API and email

Dave 206 Reputation points
2026-06-09T05:13:09.6533333+00:00

I have a Visual Studio "Professional monthly" subscription. It isn't the Visual Studio "Professional standard" subscription with Azure access. We have an application that we need to test against the MS Graph API to read emails. What options do I have to get a sandbox or test access to emails and Microsoft Graph? I don't want to upgrade to professional standard as it will double the monthly payments to $600 a year, and doesn't justify the minimal amount of work we need to do to test Microsoft Graph for a specific feature. I tried to access Azure using another M365 Outlook account we use for testing, but it keeps throwing up errors in Azure about no tokens found. Can we not use Azure with personal email accounts?

User's image

Microsoft 365 and Office | Development | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Teddie-D 17,970 Reputation points Microsoft External Staff Moderator
    2026-06-09T06:05:40.95+00:00

    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.  

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.