You are viewing limited content. For full access, please sign in.

Question

Question

Bulk Add Active Directory Groups/Accounts to Admin Console

asked on August 28, 2015

We are building campus folders for a school district.  The district has 100+ campuses and initially there are 3 levels of security that we need to apply to each campus folder.  Thus we are creating 3 AD groups for each campus to apply the security but that means we are having to add 300+ AD groups, all with the same permissions in the Admin Console, one at a time.  There needs to be a way to add multiple AD accounts/group at the same time in the admin console or a way to import the accounts from a spreadsheet.  While I would hope for the first option, the second could be similar to the tool for building the Records Management Setup Utility.  Besides using the SDK, is this functionality coming in a future version of Laserfiche?

0 0

Answer

SELECTED ANSWER
replied on August 28, 2015

I've never used Excel to generate XML. FinalBuilder is my go-to tool for random "I'm not a programmer, but I'd like to automate this"-type tasks, but that's because we already use it for a lot of internal processes.

This post has the steps for Excel, but it looks like you might need to generate the schema for it first. See something like this site for an on-line generator.

0 0

Replies

replied on August 28, 2015

You can import them from XML. To see an example, right-click a group in LFAdmin and choose All Tasks\Export as XML. You can import the XML by right-clicking the repository node and selecting Import Repository Objects.

0 0
replied on August 28, 2015

I just found that but am having problems generating the XML.  If I manually copy/paste to build it then it takes longer than adding them through the Admin Console the normal way.  I tried exporting an existing one to XML, opening it in Excel, and creating the others accounts but Excel is unable to export due to this message:

Can you recommend a way of creating that XML file?

0 0
replied on August 28, 2015

Thanks a ton for your help with this.  I have quite a few large customers that are wanting to show documents based on campus, department, location, ... and this will make it much easier for them to add the 100's of AD groups required for this type of design.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.