Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a scenario that I assumed would be fine but is not working as expected. I have an Active Directory group called POWERUSERS, with 3 people in it: User 1, User 2, User 3. That AD group is in the distribution task in QlikView QMC for the app; let's call it ABC.qvw. My NPrinting publish task for that Qlik app has Users 1 and 2 set up to receive my report. After publishing ABC, reloading NPrinting metadata, and executing the NPrinting task, NPrinting does not seem to understand that the report recipients are users in the AD group and I get this:
WARN: error during report generation: NPrinting Engine(s) failed to open document: navigator=qlikview;documentpath="qvp://Az-qlikprod/LocalUserPublishedDocuments/ABC.qvw";identity=xxxxxxx\User01. Check connection page for connection status.
When I actually add individual users 1 and 2 to my distribution task in QlikView QMC for the app, then everything works fine. Does NPrinting work with Active Directory groups, and if so, what setup step(s) am I not aware of? Thanks.
(Using: Qlik NPrinting May 2022, QlikView May 2022 SR1 - both in Azure)
NPrinting works with AD groups (but not in the way you think). It can read AD groups from user AD attributes and assign users in NPrinting to such "NPrinting Groups" for task distribution purposes. That means that instead of listing all people individually in the task you can just put NPrinting group.
NPrinting however is not passing AD Group when for example using section access - it only passes DOMAIN ACCOUNT of the user.
Now you mention few things which are unclear:
You error indicates that user you are passing when executing report (I assume via section access) is not recognized on QlikView side of things...
Hi @kdmarkee221
no, that is not what i meant. NPrinting does not use AD groups for accessing anything - it uses users. AD Groups are only used to create NPrinting Groups and NPrinting Roles.
Now regarding your issue:
NPrinting works with AD groups (but not in the way you think). It can read AD groups from user AD attributes and assign users in NPrinting to such "NPrinting Groups" for task distribution purposes. That means that instead of listing all people individually in the task you can just put NPrinting group.
NPrinting however is not passing AD Group when for example using section access - it only passes DOMAIN ACCOUNT of the user.
Now you mention few things which are unclear:
You error indicates that user you are passing when executing report (I assume via section access) is not recognized on QlikView side of things...
Have you done test by opening QlikView desktop on NPrinting server and using File-->Open in Server-->alternate identity (and pass credentials of one of users? Maybe you are one of those who belong to POWERUSERS group) - then you would see if you could read ABC.qvw
just curious...
The QlikView app does not have section access in it. I do not have nor am I using any Groups in NPrinting for my NPrinting publish task. If the QlikView publish task ONLY has the the AD group listed in the Distribute tab properties the report WILL NOT be delivered to the users. If the QlikView publish task ONLY has the the individual user names listed (AD Group is not listed) in the Distribute tab properties then the report WILL be delivered to the users.
Are you saying that if I used an NPrinting Group called POWERUSERS (with the appropriate users added), and used that in my NPrinting publish task, it would work? Thanks.
Hi @kdmarkee221
no, that is not what i meant. NPrinting does not use AD groups for accessing anything - it uses users. AD Groups are only used to create NPrinting Groups and NPrinting Roles.
Now regarding your issue:
Thanks for clarifying. (The nprinting service account/user was added to the QV QMC task, so it's fine due to that.)