Azure App Registration Setup
Beefynd Reception uses one app registration in your own Microsoft Entra ID tenant, for both sign-in and reading data from Microsoft 365. Count on about 45 minutes. We are happy to help.
Before you start
What you need
- An account with Global Administrator, or with Application Administrator and Exchange Administrator
- Access to Exchange Online PowerShell (step 7 and optionally step 9)
- The web address of your environment (you get it from Beefynd), for example
https://your-company.beefynd.com
What you set up
- One app registration in Microsoft Entra ID, for both sign-in and retrieving staff, availability and free/busy
- A security group for reception
- Two optional app roles: view invoices, and request flowers or gifts
- A mailbox from which the app sends notifications to employees, limited to just that mailbox
Step 1 — Register the app
- Go to entra.microsoft.com → Identity → Applications → App registrations → New registration.
- Name:
Beefynd Reception. - Supported account types: Accounts in this organizational directory only.
- Redirect URI: platform Single-page application (SPA), address
https://your-name.beefynd.com. - Click Register. Note the Application (client) ID and the Directory (tenant) ID from the Overview page.
Step 2 — Expose an API
- Go to Expose an API → Add next to Application ID URI and accept the default
api://<client-id>. - Choose Add a scope: name
access_as_user, Who can consent: Admins and users, add a short description, State Enabled. - Go to API permissions → Add a permission → My APIs → Beefynd Reception and add the delegated permission
access_as_user.
Step 3 — Microsoft Graph permissions
Under API permissions → Add a permission → Microsoft Graph, add:
| Type | Permission | Used for |
|---|---|---|
| Delegated | User.Read | Sign-in |
| Delegated | email | The user’s email address |
| Application | User.Read.All | Reading staff, departments and photos |
| Application | Presence.Read.All | Showing Teams status |
| Application | Calendars.ReadBasic.All | Showing free or busy only |
Then click Grant admin consent for …. Every row must show Granted.
Mail.Send here. It would allow the app to send mail as any employee. The mail permission is granted separately in step 7, limited to a single mailbox.Step 4 — Client secret
- Go to Certificates & secrets → New client secret. Description:
Beefynd, validity: 24 months. - Copy the Value immediately (not the Secret ID). It is only shown once.
- Put the expiry date in your calendar. Beefynd contacts you well in advance for a new secret.
Step 5 — Reception group and groups claim
- In the app registration go to Token configuration → Add groups claim, choose Security groups and tick it for ID and Access. Click Add.
- Go to Identity → Groups → New group: type Security, name
Reception. Add your reception staff as members. - Note the Object ID of the group.
Employees who are not in this group automatically get the Employee role.
Who sees what
| Role | Sees and does | Where you manage it |
|---|---|---|
| Employee | Staff and availability, organisation, own callback requests, requesting a vehicle, user guide | Nothing: everyone in the tenant |
| Reception | Everything an employee can, plus notes, handovers, handbook, callback requests, external contacts, vehicles and keys, flowers and gifts, administration | Membership of the Reception security group |
| Invoices | View and download Beefynd invoices | App role Billing.Read (step 6) |
| Flowers and gifts requester | Only a request form and own requests (for example for HR) | App role Gifts.Request (step 6), optional |
Roles can be combined. A change only takes effect after the person signs in again.
Step 6 — App roles
Create app roles once in the app registration and assign them to people (or, with Entra ID P1, to groups).
Create — go to App roles → Create app role and create these two:
| Display name | Allowed member types | Value (exact, case-sensitive) | Description |
|---|---|---|---|
| Billing Read | Users/Groups | Billing.Read | View and download Beefynd invoices |
| Gifts request | Users/Groups | Gifts.Request | Request flowers or gifts from reception |
For both, turn on Do you want to enable this app role? and click Apply.
Assign — go to Identity → Applications → Enterprise applications and open Beefynd Reception (if you do not see it, remove the filter “Application type == Enterprise Applications”). Go to Users and groups → Add user/group, choose the person and the role, and click Assign.
- Billing Read: who may see invoices, usually the IT administrator.
- Gifts request: only if, for example, HR will submit requests themselves. If you do not assign it, reception handles all orders.
Leave Assignment required? (under Properties of the Enterprise application) set to No. Otherwise only explicitly assigned people can sign in.
Step 7 — Mail from your own mailbox
Callback requests, late keys and reservation requests are sent as email to your employees. That mail comes from your own Microsoft 365, so employees trust it. The app gets the right to send mail, limited to one mailbox.
7a — Choose a mailbox. Use an existing noreply mailbox or create a shared mailbox (no licence needed), for example noreply@yourcompany.com with display name “Reception (do not reply)”. For a new shared mailbox, set Account enabled to off in Entra.
7b — Look up the IDs.
- Client ID: App registrations → Beefynd Reception → Overview → Application (client) ID
- Object ID: Enterprise applications → Beefynd Reception → Overview → Object ID. This is a different value than the Object ID of the app registration.
7c — Grant the right in Exchange Online PowerShell. Replace the three values between < >:
Install-Module ExchangeOnlineManagement -Scope CurrentUser # first time only
Connect-ExchangeOnline -UserPrincipalName <your admin account>
$ClientId = "<client-id>"
$ObjectId = "<object-id of the Enterprise application>"
New-ServicePrincipal -AppId $ClientId -ObjectId $ObjectId -DisplayName "Beefynd Reception"
New-ManagementScope -Name "Beefynd noreply" -RecipientRestrictionFilter "PrimarySmtpAddress -eq '<noreply@yourcompany.com>'"
New-ManagementRoleAssignment -App $ClientId -Role "Application Mail.Send" -CustomResourceScope "Beefynd noreply"7d — Check.
Test-ServicePrincipalAuthorization -Identity $ClientId -Resource <noreply@yourcompany.com>
Test-ServicePrincipalAuthorization -Identity $ClientId -Resource <your own address>
Disconnect-ExchangeOnline -Confirm:$falseFor the noreply mailbox it must say InScope: True, for your own address InScope: False. That proves the app can only send as the noreply mailbox. New permissions can take a few hours to work.
Roll back (if you ever need to):
Get-ManagementRoleAssignment -RoleAssignee $ClientId | Remove-ManagementRoleAssignment -Confirm:$false
Remove-ManagementScope "Beefynd noreply" -Confirm:$falseStep 8 — Allow mail from Beefynd
Invoice notifications come from noreply@beefynd.com. To keep them out of junk mail, create a rule in Exchange admin center → Mail flow → Rules → Add a rule → Create a new rule:
- Name:
Beefynd invoices not as spam - Apply this rule if: The sender → address matches any of these text patterns →
noreply@beefynd.com - And: A message header → includes any of these words → header
Authentication-Results, worddmarc=pass - Do the following: Modify the message properties → set the spam confidence level (SCL) → Bypass spam filtering
Because of the dmarc=pass condition, forged mail pretending to be this address does not bypass the filter.
Step 9 — Calendar: what the app can and cannot read
In step 3 the app gets Calendars.ReadBasic.All. That lets it read appointments without content, attachments and extensions. The app only uses this to show free or busy; subject, attendees and content appear nowhere in the app.
If you want to restrict calendar access further to selected staff only, you can do that in Exchange with RBAC for Applications, in the same way as step 7. This is optional and affects whose free/busy the app can show. Contact Beefynd before you do this.
Step 10 — Send us the details
Send Beefynd the following through our secure form:
| Item | Where to find it |
|---|---|
| Directory (tenant) ID | App registration → Overview |
| Application (client) ID | App registration → Overview |
| Client secret (Value) | Step 4; only through the secure form |
| Expiry date of the secret | Step 4 |
| Object ID of the Reception group | Step 5 |
| Sender address for notifications to employees | Step 7, for example noreply@yourcompany.com |
| Email address for invoice notifications | Usually the IT administrator |
| Default language | Dutch or English |
Check after Beefynd has set up your environment
- A receptionist signs in and sees Administration.
- An employee who is not in the Reception group signs in and only sees Employees, Organisation and their own items.
- Photos, departments and the organisation chart are filled after the first synchronisation.
- Status dots and free/busy match Teams and Outlook.
- A callback request to yourself arrives from your noreply address, in the inbox.
- The IT administrator with Billing Read sees Invoices; a receptionist does not.
- An invoice notification from
noreply@beefynd.comarrives in the inbox, not in junk.
Troubleshooting
| Problem | Cause and solution |
|---|---|
| Sign-in gives an error about the redirect URI | The address in step 1 is not exact, or is not under the platform Single-page application. |
| A receptionist does not see Administration | Not in the Reception group, or the groups claim from step 5 is missing. Sign in again after a change. |
| Billing Read or Gifts request role does not work | The Value is not exactly Billing.Read or Gifts.Request, or the assignment is on the wrong person. Sign in again. |
| Invoices are visible, but the person is also reception | Correct: roles can be combined. The flowers request form is only visible without the reception role. |
| No photos or employees | Admin consent for User.Read.All is missing (step 3). |
| No status dots | Admin consent for Presence.Read.All is missing, or employees do not use Teams. |
| Mail to employees does not arrive | Check step 7d. Right after granting it can take a few hours. |
New-ServicePrincipal says “not found” | The Object ID of the app registration was used instead of that of the Enterprise application (step 7b). |
| Invoice notification in junk mail | The mail flow rule from step 8 is missing or switched off. |
| Employees in large organisations have no role | People in many groups sometimes get no group list in the token. Contact Beefynd. |
Questions about the setup? Email support@beefynd.com.