Search K
Appearance
Appearance
Overview Use this guide to create a Microsoft Azure (Certificate) service account in MinuteView Console. This account provides SharePoint and Microsoft Graph API access using an X.509 certificate credential instead of a client secret.
It is the same server-to-server (application-only) integration as the Microsoft Azure account, but authentication is signed by the certificate's private key — no client secret is required. Certificates are generally preferred over secrets for production because they can be longer-lived and are harder to leak.
Which Azure account do I need?
- Microsoft Azure — application-only, authenticates with a client secret.
- Microsoft Azure (Certificate) — this page — application-only, authenticates with a certificate.
- Microsoft Azure (OAuth) — delegated, a user signs in and authorises access.
The certificate signs a token request that the MinuteView server sends to Microsoft's identity platform; the server then calls Microsoft Graph directly. The MinuteView server must have outbound internet access to the following domains.
The following domains must be accessible via HTTPS (port 443) from the server where MinuteView is installed:
| Domain | Purpose |
|---|---|
login.microsoftonline.com | OAuth token acquisition (certificate-signed) and token refresh |
graph.microsoft.com | Microsoft Graph API calls (SharePoint, OneDrive, user profiles, etc.) |
Server Access Required
These domains must be reachable from the server, not from an administrator's PC. All authentication and API calls are made server-side. If the server cannot reach these domains, authentication will fail with a connection error.
MinuteView Service Account (Certificate)From the app's Overview page, note:
# Create the certificate in the current user's store
$cert = New-SelfSignedCertificate -Subject "CN=MinuteView-ServiceAccount" `
-KeyExportPolicy Exportable `
-KeyLength 2048 `
-NotAfter (Get-Date).AddYears(2) `
-CertStoreLocation "Cert:\CurrentUser\My"
# Export the public part (.cer) to upload to Azure
Export-Certificate -Cert $cert -FilePath "minuteview-cert.cer"
# Export the private part (.pfx) to upload to MinuteView
Export-PfxCertificate -Cert $cert -FilePath "minuteview-cert.pfx" `
-Password (ConvertTo-SecureString "your-password" -AsPlainText -Force).cer file, add a description, and click AddYou upload the
.cer(public key) to Azure, and the.pfx(with private key) to MinuteView in step 5.
Sites.ReadWrite.All — SharePoint site accessFiles.ReadWrite.All — file accessUser.Read.All — read user profiles (if required)If the account also needs to access Azure resources (Storage, Key Vault, etc.), assign the appropriate RBAC roles to the app's object ID at the relevant scope. This is only needed for resource-plane access — Graph permissions above cover SharePoint/OneDrive.
| Field | Description | Example |
|---|---|---|
| Tenant Id | Directory (tenant) ID from step 1 | 87654321-4321-4321-4321-210987654321 |
| Client Id | Application (client) ID from step 1 | 12345678-1234-1234-1234-123456789012 |
| Certificate (.pfx) | Upload your .pfx file — it is converted and stored securely | minuteview-cert.pfx |
| Certificate Password | The password used when the PFX was exported (leave blank if none) | (sensitive) |
| Scope | Microsoft API scope — leave the default unless targeting a specific API | https://graph.microsoft.com/.default |
Certificate must match
The certificate you upload here (.pfx, with private key) must be the same certificate whose public .cer you uploaded to the Azure app registration in step 2. If they differ, Azure will reject the signed token request.
MinuteView handles tokens automatically:
Connection error / "Failed to retrieve authentication token"
AADSTS700027 / certificate mismatch or not found
.cer uploaded to Azure and the .pfx uploaded to MinuteView are the same certificate.AADSTS700016: Application not found
Certificate password errors
Insufficient privileges
.cer) and the MinuteView service account (.pfx).