01. VBAuth WhitePaper Series Intro

VBAuth

Security White Paper Series

An Introduction

Peter Bryant — Corylus Business Systems | Andrew Richards — The IT Service Ltd

When Microsoft introduced New Outlook — built on a modern WebView2-based architecture sharing its codebase with Outlook on the web, and never including the COM object model — it broke the COM object model that Access and VBA developers had relied on for years. The replacement — the Microsoft Graph API — is capable and well-documented, but it introduces an authentication layer that most VBA developers have never had reason to think about before. Get it right and you have a robust, secure integration with Microsoft 365 that your clients’ IT teams can manage and audit. Get it wrong and you may be handing an attacker silent, persistent access to an entire organisation’s mailboxes.

These four papers exist because the security decisions you make at the start of a VBAuth deployment shape everything that follows: what your client’s IT team can control, what the audit trail looks like, and what the consequences are if something goes wrong. They are written for developers, but they are also readable by IT managers who want to understand what is being deployed in their tenant and why.

The Series

Paper 2 Microsoft Graph API Permissions and Security: Why Delegated Permissions Are the Only Safe Choice (developers and IT managers) The fundamental question: should your application authenticate as a user or as itself? This paper explains the difference between delegated and application permissions, demonstrates why application permissions represent a serious and demonstrable risk in a deployed Access application, and establishes delegated permissions as the only appropriate model. Read this first.

Paper 3 Entra App Permission Scope and Security Architecture: Monolithic vs Endpoint-Scoped App Registrations (developers) Once you have committed to delegated permissions, how should you structure your Azure Entra app registrations? This paper covers the choice between a single registration carrying all permissions and an endpoint-scoped approach, with the security, audit, and authentication frequency implications of each.

Paper 4 Controlling Access with Azure Entra App Roles: Design, Planning, and Implementation (developers and IT managers) App roles are the mechanism by which you restrict specific operations to specific users. This paper explains what app roles are, how they relate to the AD groups IT teams already manage, and walks through a real example from the VBAuth demo database. It then covers the planning conversation to have with your client and step-by-step implementation in the Entra admin centre.

Paper 5 Thinking About Security When Using Graph API with VBAuth: A Practical Guide (developers) The conversational companion to the three technical papers. This guide brings everything together as a narrative — from the initial problem through registration design, scope decisions, app roles, and the handover to the client’s IT team — and closes with a practical checklist. Read this alongside Paper 1, or on its own if you want the overview before the detail.

How to Read Them

If you are new to Graph API authentication, start with Paper 2 and read in order — each paper builds on the last. If you already understand the permissions model and want practical deployment guidance, Papers 4 and 5 can stand alone. If you are an IT manager evaluating a VBAuth-based application, Papers 2 and 4 are the most directly relevant to what your team will own and manage.

This series was prepared with AI assistance. The technical content has been reviewed and verified by the authors.

VBAuth, developed and maintained by Andrew Richards (The IT Service Ltd) and Peter Bryant (Corylus Business Systems), © 2025–2026. All rights reserved. https://vbauth.com

Updated on April 19, 2026