Admin setup guide
This guide takes a global admin from an empty tenant to live enforcement. Follow it top to bottom. The whole path is five steps, and the app walks you through them in order. This document explains what each step really does so you are never pasting commands you do not understand.
Time required: about 15 minutes, most of it waiting on verification.
You need: a Microsoft 365 Global Administrator account (a Teams Administrator can sign in and manage GrayFour, but granting admin consent needs a Global Administrator), and ideally one upcoming Teams meeting on your own calendar so verification can prove the setup worked.
Before the steps: choose a region
Section titled “Before the steps: choose a region”The first time you sign in at app.grayfour.com, GrayFour asks “Where should your data live?”: United States, Canada, Europe or Asia Pacific. Your organization’s service data is stored in that region. You can change it in Settings until you go live; after that it is fixed, and moving it needs support. One account record per organization is kept in Germany whatever you choose; the privacy policy lists exactly what is stored where.
After you pick a region, your 30-day free trial starts and the setup wizard opens over the dashboard. It stays open until setup is finished. Every step is saved as you go, so if you sign out or close the tab, the wizard opens again at the step you reached.
Overview
Section titled “Overview”The five steps, as the app presents them:
- Connect. You sign in and grant GrayFour admin consent in your tenant. This is a Microsoft flow, not a GrayFour screen.
- Script. You paste one PowerShell block into Cloud Shell in the Teams admin center. It turns on cloud recording tenant-wide and authorizes the GrayFour app to manage online meetings.
- Verify. GrayFour runs three checks against your tenant to prove consent and the access policy really work.
- Preview. A read-only dry run lists every meeting that would be auto-recorded over the next year. Nothing changes in your tenant.
- Go live. One click turns enforcement on and schedules the initial backfill.
Step 1: Connect
Section titled “Step 1: Connect”Click Grant admin consent. You sign in with Microsoft in the same tab, Microsoft shows a consent screen listing what GrayFour asks to do in your tenant, and after you accept you land back on the dashboard with “Admin consent granted.” Make sure you accept on behalf of your whole organization.
Two things worth knowing:
- The consent screen lists everything the app registration asks for, all at once. There is no picking and choosing, and the same screen you see is the authoritative record of what was granted. See Permissions explained for what each of those capabilities means in plain language.
- Consent can be revoked later. If you ever want to disconnect, removing GrayFour’s access is done from your Microsoft admin center, not from our app. Revoking consent stops all Graph access. The next run fails, and the Admin consent row on the dashboard turns red with a Reconnect button. Reconnect opens only the Microsoft consent screen, not the setup wizard. Accept it and you land back on the dashboard with “Admin consent granted. GrayFour is reconnected.” Your settings and enforcement state are kept as they were.
If the redirect comes back with an error instead of success, Microsoft appends an explanation to the URL. See troubleshooting for the common causes.
Step 2: Script
Section titled “Step 2: Script”The app shows you a PowerShell block with a button to copy it. Open the Teams admin center, start Cloud Shell from the top bar, paste the whole block, and run it once.
What each part does:
Connect-MicrosoftTeams -UseDeviceAuthenticationsigns you in to the Teams admin cmdlets. Cloud Shell cannot open a browser window, so it prints a code and a URL. Open the URL on any device, enter the code, and sign in with your admin account. This is Microsoft’s standard device login, identical to what a game console or TV app uses.Set-CsTeamsMeetingPolicy -Identity Global ...allows cloud recording and transcripts for everyone in the tenant. This is the tenant-level recording switch. Without it, Teams will not record meetings no matter what GrayFour does, so this is a prerequisite, not an extra enforcement.New-CsApplicationAccessPolicy ...creates a named policy tying the GrayFour app to the ability to manage online meetings on your users’ behalf. The policy is created empty. Creating it changes nothing until the next step grants it to people.Grant-CsApplicationAccessPolicy ... -Globalgrants that policy tenant-wide. This is the step that gives the policy effect. It covers every user, including people you add later, so there is nothing to re-run when someone joins.
A note on step 4: Teams allows only one application access policy per user, and a policy assigned to a specific user takes precedence over the tenant-wide one. The tenant-wide grant never overwrites a policy you already gave a user for another app. If some of your users already have such a policy, add the GrayFour app ID to that policy instead, and verification will confirm it. Microsoft notes that policy changes can take up to 30 minutes to reach its APIs, so if verification fails right after the script, wait and try again.
The whole block takes a minute or two, most of it in the sign-in. When you see the final message, return to GrayFour and click Continue.
If sign-in fails with AADSTS530035
Section titled “If sign-in fails with AADSTS530035”Why this happens: Cloud Shell can’t open a browser window, so the script signs in to Teams PowerShell with a code you enter on another device. Your tenant’s security defaults block that kind of sign-in, so the script can’t change your Teams settings. Turn security defaults off for the few minutes setup takes, then turn them back on.
- Open entra.microsoft.com and go to Overview, then Properties.
- Select Manage security defaults, set it to Disabled, choose the reason Other, and use this comment: “Temporarily disabled to complete GrayFour AutoRecord setup. Will re-enable once setup is done.”
- Save.
- Wait 10 minutes. The change takes a while to reach Microsoft’s sign-in, and trying sooner usually fails with the same error.
- Run the setup script again.
- When the script finishes, turn security defaults back on: same screen, set it to Enabled, and save. Your users stay unprotected until you do.
Step 3: Verify
Section titled “Step 3: Verify”Verification runs three checks against your tenant, using the access granted in steps 1 and 2. It exists to catch problems now, while you are still watching, instead of when a sweep fails later.
| Check | What it proves |
|---|---|
| Consent present | Your consent grant works for a real app-only call. |
| Application access policy | The policy from step 2 lets GrayFour read a real Teams meeting. |
| Sample meeting readable | GrayFour can resolve that meeting end to end. |
Whose meeting is checked. By default, your own: the signed-in admin. To check someone else, enter their email in User to check. The access policy check needs one real upcoming Teams meeting on that person’s calendar in the next 30 days, because Microsoft only answers the lookup for meetings that exist. If there is none, either schedule a short test meeting and click Verify again, or check another user.
Skipping. If the only failure is that there is no upcoming meeting, GrayFour offers Skip this check. Skipping continues without proving the access policy works; if it doesn’t, meetings show as Failed in the run results once enforcement starts. Verify properly when you can.
The access policy can take up to 30 minutes to start working after the setup script, so a failure right after step 2 often clears if you wait and verify again. See troubleshooting for each message.
Step 4: Preview
Section titled “Step 4: Preview”Preview is a dry run. The app walks the next 365 days of calendars across everyone in scope and reports the meetings it would auto-record, without changing anything. Use it as a sanity check: the list should match your expectations.
The preview shows “{n} meetings would get auto-recording.” and a list of organizers and meeting subjects, 50 at a time. Subjects are used in memory for this preview only and are never stored. If nothing is found, it says “No upcoming meetings found”.
Step 5: Go live
Section titled “Step 5: Go live”The final click sets enforcement on. Two things happen immediately:
- The tenant’s status becomes active. The shared timer starts considering your tenant on every 15-minute tick, and each tenant’s own sweep interval decides when it is due.
- A backfill is queued: a full scan of the next year of upcoming meetings, so that everything scheduled from today forward gets auto-record turned on, not just meetings created after you went live.
After this, your involvement is optional. Read user guide for what to watch and what to configure.
Checklist
Section titled “Checklist”- Global admin account available
- Region chosen (fixed once you go live)
- Step 1: consent granted, redirected back successfully
- Step 2: setup script run in Cloud Shell, final message shown
- Step 3: all three checks green (or the meeting check skipped, knowingly)
- Step 4: preview list reviewed
- Step 5: go live clicked, dashboard shows first runs arriving
What happens after you finish
Section titled “What happens after you finish”A background timer fires every 15 minutes. On each tick, every active tenant whose own sweep interval has elapsed gets a sweep queued. The sweep lists the people in scope, reads their calendars, classifies each upcoming meeting (see user guide), and turns on auto-record for the enforceable ones. Every action is logged as a run with per-meeting outcomes. How much history is kept depends on your retention setting (default 30 days). A daily full rescan also catches anything a sweep missed.
If a meeting was found enforceable once but its organizer later turns auto-record off manually, what happens next depends on your re-enforcement setting, covered in Settings.