Step 1: Kindly go to AD Mgmt --> User Management --> Bulk User Management --> User Creation Templates.
Step 2: Click on Create new template.
Step 3: Choose the domain and fill the Template Name. On the General tab, you can choose a naming format that populates various naming attributes and choose a container under which the user will be created. On the Account tab, you can pre-fill a password with which the user will be created and choose a home folder location, logon restriction, etc. On the Exchange tab, you can fill information pertaining to the mailbox creation for the user, set mailbox size, place mail restrictions, policies, etc. On the OCS/Lync/Skype tab, you can select you SFB/Lync server and populate a SIP address format. Also, you can choose various Lync settings and policies. On the O365, you can enable dirsync and assign licenses with which the user will be created.
Click on Save Template, once you're done.