A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
This error is typically a Reporting Services authorization check failure during subscription delivery, not an SMTP configuration failure.
For email subscriptions, Reporting Services may call AuthzInitializeContextFromSid when the email includes an embedded report or an attached report. It does this to verify that the user who created the subscription still has permission to view the report. If the Reporting Services service account cannot read the required Active Directory group membership information for that user, delivery can fail with access-denied behavior and the subscription is not sent.
Recommended checks and fixes:
- Check the report server log for Authz errors.
- Open the
ReportServerService_<Timestamp>.logfile. - Search for
authz. - If the log shows
AuthzInitializeContextFromSidor access denied, the failure is in authorization validation during subscription processing.
- Open the
- Verify the Reporting Services service account.
- Configure the Reporting Services Windows service to run under a domain user account.
- This is one of the documented resolutions for
AuthzInitializeContextFromSidfailures during email subscription delivery.
- Grant the service account read access needed for subscription creators.
- Reporting Services uses the service account security context to read the
tokenGroupsGlobalAndUniversal (TGGAU)attribute for the user who created the subscription. - If that read is blocked, subscription delivery can fail.
- Documented resolutions are:
- Grant read permission for the domain user account on all users and groups in the domain, or
- Grant read permission specifically on the user account or group that the subscription creator belongs to.
- Reporting Services uses the service account security context to read the
- If granting access on specific users or groups, use this path on a domain controller:
- Open Active Directory Users and Computers.
- Enable View > Advanced features.
- Open the target user or group properties.
- On Security, add the Reporting Services service account.
- Allow Read permission.
- Repeat for each user account or group that can create email subscriptions, if needed.
- Changes may not take effect immediately.
- Confirm report server role assignments are still correct.
-
rsAccessDeniedalso occurs when a user lacks the required role assignment. - On a new installation, only local administrators have access by default. Access for other users requires explicit role assignments in the web portal.
- Since the report and data source are already accessible interactively, this is less likely than the Authz issue, but it should still be verified.
-
- If the SMTP server requires authentication, verify the configured account has permission to send mail.
- In Report Server Configuration Manager > E-mail Settings, confirm:
- Sender Address is valid.
- SMTP Server is correct.
- The selected authentication method matches the SMTP server requirements.
- If using Report server service account (NTLM), that service account must have Send As permissions on the SMTP server.
- In Report Server Configuration Manager > E-mail Settings, confirm:
A practical way to isolate the issue is to test a subscription created by a different domain user. If one user works and another fails, that strongly points to the Authz permission path for the subscription owner rather than SMTP.
- A call to the AuthzInitializeContextFromSid API function fails during the delivery of an e-mail subscription in SQL Server Reporting Services
- A call to the AuthzInitializeContextFromSid API function fails during the delivery of an e-mail subscription in SQL Server Reporting Services
- A call to the AuthzInitializeContextFromSid API function fails during the delivery of an e-mail subscription in SQL Server Reporting Services
- rsAccessDenied - Reporting Services error
- Email settings in Reporting Services native mode (Report Server Configuration Manager)
- Email settings in Reporting Services native mode (Report Server Configuration Manager)