Can I have multiple licence files?

I am developing against more than one client tenant. Can I have multiple licence files installed at the same time, and how do I manage them? #

Yes — VBAuth fully supports multiple .LIC files coexisting in the installation folder (C:\Program Files\VBAuth\Graph Authenticator). This is the normal situation during development when you are working across several client tenants simultaneously.

Every licence file we issue is named after the client tenant it serves, using the tenant GUID as the filename — for example:

3a7f1c2d-84e0-4b9a-bc33-1e5d7a2f0c91.LIC
Code language: CSS (css)

This naming convention is not cosmetic. When GetAccessToken is called with a given Tenant ID, VBAuth looks first for a file named {tenantId}.LIC in the installation folder. If that file is found, valid, and in date, it is used immediately — no other files are read. Only if that file is absent, expired, or invalid does VBAuth fall back to scanning all .LIC files in the folder for a match.

This means that in normal operation — where each client’s licence file is in place and correctly named — there is no performance penalty whatsoever for having multiple licence files present. Each call goes directly to the right file.

Checking your licence files

You can call CheckLicence(tenantId) at any time to see the validation status of every .LIC file in the folder against a given Tenant ID. The JSON result reports each file individually — whether it is valid, for which tenant it was issued, and when it expires. This is useful for quickly confirming which licences are in place before a client demonstration or deployment.

The VBAuth demonstration database includes a built-in licence checker tool that presents this information in a readable form without needing to parse JSON manually.

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