Authenticating with the SSRS REST API in Postman requires a manual setup since Postman does not automatically use Windows Integrated Authentication like TypeScript (withCredentials: true
) or PowerShell (-UseDefaultCredentials
). Here’s how you can explicitly authenticate:
1.Use NTLM Authentication (Recommended)
Since SSRS typically relies on Windows Authentication, NTLM is the best approach:In Postman, go to the Authorization tab.
Select NTLM Authentication.
Enter your domain username and password.
Send the request and check if authentication succeeds.
2.Use Basic Authentication (If Enabled):
If SSRS is configured to allow Basic Authentication, you can
Select Basic Auth in Postman.
Enter your Domain\Username and password.
Ensure that SSRS is configured to accept Basic Authentication in RSReportServer.config
3.Pass Authentication Headers Manually
If NTLM or Basic Auth doesn’t work, try manually adding authentication headers
Authorization: Basic <Base64-encoded username:password>
sqlAuthCookie: Ensure this cookie is set with the correct domain.
4.Check SSRS Configuration
Verify that SSRS is set up to allow external API access.
Ensure your account has the necessary permissions to access the API.
For more details, you might find Microsoft's official SSRS authentication documentation helpful: Authentication with the SSRS Report Server. If you need more insights on authentication methods in Postman, check out their guide here.
I hope this information helps. Please do let us know if you have any further queries.