This SharePoint tutorial, we will discuss what are managed accounts in SharePoint 2016 and how to register a managed account from SharePoint 2016 central administration and also we will discuss how to register a managed account using PowerShell.
SharePoint Online tutorial contents:
Managed accounts are active directory accounts for SharePoint’s whose credentials are managed by SharePoint. Manage account credentials are encrypted and are associated with an active directory account.
If we try to register the account which is not the valid Active Directory User Account and not available in the managed accounts list, we would encounter the SharePoint Exception.
Before configuring and registering to manage account we must have an active user with permissions being added to groups.
We can register a management account:
- From SharePoint 2016 central administration
- By using PowerShell cmdlets
We can easily register managed accounts from SharePoint 2016 Central Administration.
Open SharePoint 2016 Central Administration and click on security.
Click on Configure managed accounts from General Security.
To configure the managed account click on Register Managed Account. In this step we can also view registered accounts and edit those.
Here we pass through credentials to manage the account. This also provides facilities that account passwords can be set to automatically change on a schedule and before any scheduled Active Directory enforced password change event. And can click on ok to configure.
Registers new managed account using PowerShell
With PowerShell script, we can register a new managed account for the specified Credential or Username and Password.
Add-PSSnapin "Microsoft.SharePoint.PowerShell" $cred = Get-Credential New-SPManagedAccount –Credential $cred
Running the above script we get a page pop-up to enter valid credentials of user and password combination.
The cmdlet Add-PSSnapin “Microsoft.SharePoint.PowerShell”
Is basically a PowerShell extension that gives you a series of commands for working with SharePoint objects.
The New-SPManagedAccount cmdlet registers a new managed account for the specified Credential or Username and Password.
–Credential Indicates the Credential object that specifies the credentials of the new managed account.
In this, we came to know how to register managed accounts using SharePoint Central Administration 2016 and by PowerShell script.
Read some SharePoint tutorial:
- How to change SharePoint Site Collection Administrator
- How to Configure User Profile Service Application in SharePoint 2016/2013
- Create Site Columns programmatically in SharePoint 2016/2013 using Server Object Model
- Anonymous Site in SharePoint 2013 or SharePoint 2016
- SharePoint 2016 usage analytics
- SharePoint 2016 permission levels
- Choice Filter Web Part in SharePoint 2016/2013 or SharePoint Online with Example
- Image Viewer web part in SharePoint 2016/2013/Online
- How to use Text Filter Web part in SharePoint 2016/2013/Online
- How to use Query string filter web part in SharePoint 2016/2013/Online
This SharePoint tutorial, we will discuss what are managed account in SharePoint 2016? How to register a managed account in SharePoint 2016/2013.
Also, we learn how to registers a new managed account using PowerShell in SharePoint 2016/2013.
Hello Everyone!! I am Bhawana a SharePoint MVP and having about 10+ years of SharePoint experience as well as in .Net technologies. I have worked in all the versions of SharePoint from wss to Office 365. I have good exposure in Customization and Migration using Nintex, Metalogix tools. Now exploring more in SharePoint 2016 🙂 Hope here I can contribute and share my knowledge to the fullest. As I believe “There is no wealth like knowledge and no poverty like ignorance”