Connect a Client with a Consent Share Link
Overview
To scan and analyze a client's Microsoft 365 security and compliance data, Optimize365's app registration needs admin consent from a Microsoft 365 Global Administrator. If your client does not want to share an admin account with you, use a consent share link: instead of you signing in on their behalf, the client approves the permissions directly through a secure link.
What Permissions Are Requested
- Read-only access to Microsoft 365 security and compliance data
- No write access or admin control
- Used only to enable secure analysis and scanning of the client environment
Why Use This Option
- No need to share user credentials or create delegated admin accounts
- Quick, secure, and fully auditable
- The client stays in control while you get the insights you need to support them
Generate and Share the Consent Link
Step 1: Open the admin consent setup
-
In the Optimize365 portal, toggle the Read-Only Login (M365) switch next to your client or prospect.

-
On the "Connect to Microsoft 365" screen, click More options.

Step 2: Generate the client consent link
Click Generate Client Consent Link. This creates a secure link your client can use to sign in with their own account and grant the required permissions, without giving you direct account access.

Step 3: Share the link with your client
A unique secure link appears. Send it to your client together with the client instructions below.
The link expires 72 hours after you generate it. It also stops working as soon as you generate a new link, or once the connection is complete.

When your client opens the link, they see your MSP logo and name, their organization's name, and a Step 1 of 2: Microsoft 365 Admin Consent page with a Grant Admin Consent button. Consent opens in a popup and needs a Global Administrator.
Client instructions (copy and send):
- Click the link you received, then click Grant Admin Consent.
- In the popup, sign in with a Microsoft 365 Global Administrator account to assign the app registration "Read Only" permissions.
- Review and approve the requested read-only permissions.
- Notify your MSP once the process is complete.
When the client finishes successfully, they see this page:

Step 4: Verify client consent
Once your client confirms they've approved the permissions, click Verify Client Consent to finalize the connection.

Step 5 (optional): Grant Global Reader permissions
To scan beyond the Basic Security Baseline — for example, to access more scans or global insights — you may need Global Reader permissions.
Note: Global Reader is not required for the Basic security for prospecting scan.
Enable Global Reader using one of these options:
- Option 1: Optimize Role Granter (recommended). Click Open Permission Window and share the link with your client so they can approve the permissions with their Global Administrator account. Once they've approved, click Assign Roles to complete the role assignment. The helper app permanently removes itself from the tenant after assigning the role.
- Option 2: Manual Global Reader role assignment. Follow Manually Assign the Global Reader Role to Optimize365.
Troubleshooting
Verify Client Consent doesn't complete the connection
Confirm with the client that they signed in with a Global Administrator account and reached the success page shown in Step 3.
The client gets an error page when opening the link
The link has expired (links last 72 hours), was replaced when you generated a newer one, or the connection is already complete. The error page asks the client to request a new link from their service provider. Generate a new link (Step 2) and send it to them.
Need more help
Contact support@optimize365.io.