Authentication and document access in policy authoring
Summarize
Summary of Authentication and document access in policy authoring
Policy authoring in ServiceNow allows users to link, create, connect, or upload policy documents stored in Microsoft SharePoint or Google Drive directly from policy records. Users collaborate on these documents in the cloud, and after approval, the finalized content is published as a Knowledge Base article within ServiceNow.
Show less
To interact with Microsoft or Google cloud services via API, ServiceNow requires authenticated connections. Policy authoring supports a hybrid authentication model combining a shared system account with personal user credentials to enable document operations while maintaining audit traceability and proper access management.
Authentication Modes and Hybrid Model
- System Account Authentication: Document operations run under a shared service account. Documents are registered under this account’s identity, causing audit trails in SharePoint or Google Drive to reflect the service account as the author/modifier regardless of the actual user.
- Personal Authentication: Document creation, connection, and upload operations run under the logged-in user’s personal Microsoft O365 or Google account, enabling accurate audit trails showing the individual user responsible for each action. Note that personal authentication supports Google Drive but is not supported for Microsoft OneDrive.
- Hybrid Authentication Model: Personal authentication is enabled for create, connect, and upload operations, while system account credentials handle granting/updating document access permissions and syncing document content. The service account must have sharing access to all relevant documents in SharePoint or Google Drive to ensure these operations succeed.
Document Access Permissions and Roles
ServiceNow automatically manages document access permissions based on policy roles and workflow states. Permissions are granted only from ServiceNow to the cloud storage; changes made directly in SharePoint or Google Drive do not sync back to ServiceNow and will be overwritten upon policy state changes.
- Roles: Owner, Contributor, Reviewer, and Approver – each role receives specific access levels that vary according to the policy’s workflow state (Draft, Review, Awaiting Approval, Approved).
- Access Levels: Generally include Edit or View permissions tailored to each role and policy state, ensuring proper collaboration and review processes.
- Email Address Matching: User email addresses in ServiceNow must match their Microsoft or Google accounts to ensure correct permission assignment.
Document Management Behavior
- When a document linked to a policy record is swapped, previous document permissions are revoked and new permissions granted asynchronously, causing a possible short delay before updates reflect in the cloud location.
- Permission management is one-way from ServiceNow to the cloud; manual changes made in SharePoint or Google Drive will be overwritten on the next policy state change.
- To avoid permission conflicts, manage document access exclusively through ServiceNow’s Document access tab on the policy record.
Practical Considerations for ServiceNow Customers
- Ensure the service account has sufficient sharing access to all policy documents to support access updates and content synchronization.
- Enable personal authentication to maintain individual user identity in document audit trails, especially when detailed tracking is required (note Google Drive support only).
- Prepare users for a one-time authentication prompt per session when using personal authentication, with streamlined login for Microsoft O365 and a multi-step login for Google Drive.
- Maintain accurate user email addresses in ServiceNow matching their cloud service accounts to guarantee proper permission assignment and access control.
Policy authoring now supports a hybrid authentication model that combines a shared system account with personal user credentials to enable document operations in Microsoft SharePoint and Google Drive.
Policy authoring enables users to link policy documents hosted in Microsoft SharePoint or Google Drive to policy records in ServiceNow. Users can create, connect, or upload documents from a policy record and collaborate on the document in the cloud location. After the review and approval process is complete, the finalized document content is published as a Knowledge Base article in ServiceNow.
- System account authentication
- Personal authentication
System account authentication
In system account authentication, document operations, such as creating, connecting, uploading, synchronizing content, and managing access permissions, run under a shared non-personal service account.
When a user creates or uploads a document from a policy record, the document is registered in the cloud storage location under the service account identity. It is not registered using the individual user's identity. As a result, the audit trail in SharePoint or Google Drive reflects the service account as the author or modifier, regardless of which user performed the action in ServiceNow.
Personal authentication
Personal authentication was introduced to address the loss of individual user identity in the audit trail. When personal authentication is enabled, the create, connect, and upload operations run under the logged-in user's personal Microsoft O365 or Google account credentials. Documents created or modified from ServiceNow are registered in the cloud location under the individual user's identity, enabling accurate audit traceability of who initiated each document operation.
Personal authentication is supported for the following cloud locations:
- Google Drive (My Drive and Shared Drives)
Hybrid authentication model
Enabling personal authentication does not replace the system account entirely. Policy authoring uses a hybrid model in which personal credentials and system account credentials each handle a specific set of operations.
| Operation | Personal authentication enabled | Personal authentication inactive (default) |
|---|---|---|
| Create document | Personal credentials | System account |
| Connect existing document | Personal credentials | System account |
| Upload document | Personal credentials | System account |
| Grant and update document access permissions | System account | System account |
| Sync document content (Update link) | System account | System account |
Document access permissions and content sync always run under the system account. Therefore, the service account must have sharing access to all documents in or Google Drive, even when personal authentication is enabled. Without this access, document access updates and content sync operations will fail.
Document access permissions
When a document is linked to a policy record, ServiceNow automatically grants access to the document for the users associated with the policy. Access is managed from ServiceNow to the cloud location only. Changes made directly to document permissions in or Google Drive aren't reflected back in ServiceNow.
The four roles involved in policy authoring are:
- Owner: The policy owner who manages the policy record and drives the authoring workflow.
- Contributor: Users who contribute to drafting the policy document.
- Reviewer: Users who review the policy document before approval.
- Approver: Users who approve the policy before it is published.
The access level granted to each role in the cloud document changes as the policy moves through its workflow states.
| Policy state | Owner | Contributor | Reviewer | Approver |
|---|---|---|---|---|
| Draft | Edit | Edit | — | — |
| Review | Edit | View | Edit | View |
| Awaiting Approval | View | View | View | View |
| Approved | View | View | View | View |
Behavior when a document is swapped
If a policy owner changes the document linked to a policy record by connecting a different document, the access permissions on the previous document are revoked and new access permissions are granted on the replacement document. This applies to both SharePoint and Google Drive.
Document access updates run asynchronously. There may be a short delay before the updated access is reflected in the cloud location after a document is swapped.
One-way permission sync
Document access permissions are managed in one direction only, from ServiceNow to the cloud location. If a user manually modifies document permissions directly in SharePoint or Google Drive, those changes aren't captured in ServiceNow. The next time the policy changes state, ServiceNow will overwrite the manually applied permissions with the access levels defined for that state.
To avoid permission conflicts, manage document access through the Document access tab in the policy record rather than directly in SharePoint or Google Drive.