Guide · Microsoft Graph

Dynamic signatures with Microsoft Graph: directory attributes and real-time data

Microsoft Graph exposes each user's directory attributes. Here is how they feed email signatures that stay accurate, with no manual entry.

Microsoft Graph is the programming interface (API) that provides unified access to Microsoft 365 data: user profiles, groups, mail, calendars. For signature management, only one of its services really matters: reading each person's directory profile. That is what makes a dynamic signature possible — a signature whose name, title, department or phone number fill themselves in and stay accurate.

In short: a dynamic signature via Microsoft Graph draws its fields (name, title, department, phone, office) from the user's directory attributes stored in Microsoft 365. When a value changes in the directory, the signature shows the new value on the next email, with nothing for the employee to edit. The access required is limited to reading profiles.

What is Microsoft Graph?

Microsoft Graph is the single access point to Microsoft 365 data and services. Rather than querying Exchange, Entra ID (formerly Azure AD) or SharePoint separately, an application goes through one consistent API. For a signature solution, the most useful object is the user (/users): it exposes a person's full directory profile — all the details your administrator has entered in Microsoft 365.

Those details — display name, title, department, contact information — are exactly what a professional signature contains. Instead of retyping them for every employee, you read them at the source. The directory becomes the single reference, and the signature is merely a reflection of it.

How Graph feeds a signature

The principle is simple. You design a signature template in which the variable values are represented by tokens — for example {{displayName}}, {{jobTitle}} or {{businessPhones}}. These tokens are not fixed text: they are placeholders.

When the user composes an email, the Outlook add-in requests the signature. The solution then reads that person's profile through Microsoft Graph, replaces each token with the real value of the matching attribute, and inserts the result. A single template thus serves the whole organization: every employee gets a personalized signature, without a single individual signature ever being typed by hand.

This approach is at the heart of modern solutions. For the broader context, see the complete Microsoft 365 email signature guide, and for terminology, the email signature glossary.

Which directory attributes to use

Microsoft Graph names each profile field with a technical, English identifier. Here are the most useful attributes for a signature and how they are used:

Graph attributeContentUse in a signature
displayNameDisplay nameName line, at the top of the signature
jobTitleTitle / roleBelow the name
departmentDepartmentClarifies the role or team
companyNameCompany nameLegal name, below the title
mailProfessional email addressContact line, often clickable
businessPhonesOffice phone(s)Primary number (a list)
mobilePhoneMobileMobile number, when relevant
officeLocationOffice / roomPhysical location
streetAddress, city, postalCode, state, countryMailing addressOffice address block
userPrincipalNameSign-in identifier (UPN)Rarely shown; used for targeting

Two technical nuances are worth knowing. First, businessPhones is a list: a user may have several office numbers, and the signature typically shows the first. Second, an unset field must be omitted cleanly: if no mobile number is entered, a "Mobile:" line should not appear empty.

Real-time data: current on every send

The strength of a Graph-fed signature is data freshness. The value is not frozen at the moment the employee created their signature: it is read at compose time. In practice:

  1. A person changes title or extension.
  2. Your administrator updates their profile in Microsoft 365 (or the directory is synced from your HR system).
  3. On the next email, the signature already shows the new value — no action from the employee, no help-desk ticket.

This behaviour eliminates the leading cause of wrong signatures: contact details copied once and never updated. The directory becomes the source of truth, and signatures follow automatically. It is also what lets you combine real-time data with Microsoft 365 group targeting to apply the right template to the right department.

Read-only access and security

Reading directory profiles involves sensitive data: access must be governed. With ATOM Signatures, the Microsoft Graph connection is read-only. The solution consults the user's profile to fill their signature, but never writes to the directory and modifies no attribute.

This choice follows the principle of least privilege: only the strictly necessary permission is granted (reading profiles), nothing more. No access to email content is required to insert a signature, because it is added client-side in Outlook at compose time — the message is never routed through a third-party server.

For a Quebec organization, this combination — read-only, client-side insertion, configuration hosted in Canada — reduces exposure regarding the protection of personal information. See the Law 25 and email signatures guide.

Setup and best practices

To get the most from a dynamic signature, the effort is less about the tool than about directory quality:

  • Complete the profiles in Microsoft 365: title, department, phones and office must be filled in to appear.
  • Normalize the format of phone numbers and titles for a consistent look from one employee to the next.
  • Assign updates to a single source (the directory, ideally synced from your HR system) rather than letting everyone compose their own signature.
  • Plan for empty fields: choose a template that cleanly hides lines with no data.
  • Test with a few real profiles before rolling out to the whole organization.

A clean directory pays off well beyond signatures — it also feeds the global address list, Teams and the rest of Microsoft 365.

Frequently asked questions

What is a dynamic signature via Microsoft Graph?

It is a signature whose fields (name, title, department, phone) are filled automatically from the user's directory attributes, read from Microsoft 365 through the Microsoft Graph API. When a value changes in the directory, the signature reflects it on the next send, with no action from the employee.

Which Microsoft Graph attributes can appear in a signature?

The most common are displayName (display name), jobTitle (title), department, mail (email), businessPhones (office phone), mobilePhone, officeLocation and companyName. The address (streetAddress, city, postalCode) is also available. These values come from the user's profile in Entra ID.

Is Microsoft Graph access read-only?

With ATOM Signatures, yes. The solution reads the user's profile to fill their signature, but never modifies the directory. The permission used is limited to reading profiles, following the principle of least privilege.

What happens if a directory attribute is empty?

An empty field (for example no mobile number set) is simply omitted from the signature instead of showing a blank or an orphan label. Keeping the Microsoft 365 directory up to date is therefore the best way to get complete, consistent signatures.

Always-accurate signatures, powered by your directory. ATOM Signatures reads each user's Microsoft 365 profile read-only and inserts the signature client-side in Outlook, with 100% Canadian hosting.

Discover ATOM Signatures

Go further: the complete Microsoft 365 email signature guide and the email signature glossary.

Sources