Binary Bits

Bits & Pieces – A blog by Kannan Balasubramanian

  • Home
  • Main Categories
    • Microsoft Articles
    • SharePoint Articles
    • Photography
    • Music
  • About
    • Binary Bits
    • Kannan

Granting access to the SharePoint content database for an managed account

July 11, 2014 / Kannan / 0 Comments

With the following Windows PowerShell Command, a managed account can be provided access to a content database.

$w = Get-SPWebApplication -identity http://<WebApplication>
$w.GrantAccessToProcessIdentity("<Domain>\<Username>")

Note: Before running this command, the account should be registered as managed account

To register a managed account

  1. On the SharePoint Central Administration website home page, in the left navigation, click Security.
  2. On the Security page, under General Security, click Configure managed accounts.
  3. On the Managed Accounts page, click Register Managed Account.
  4. Type the user name and password of the domain account that you are registering.
  5. Optionally, select the Enable automatic password change check box if you want SharePoint Server to manage password changes for this account.
  6. Click OK.

 

Recent Posts

  • Data types of rollup vs calculated vs Power Fx in Power Apps
  • Power Platform – Restore
  • Power Platform – Backups
  • 1080p on 1200p display
  • Windows 11 – Apps keep pinning to the taskbar
  • Outlook password not working on Thunderbird
  • Binding buttons in SPFx
  • Generate PDF from SharePoint Online list item using Power Automate
  • Item level permission in SharePoint using REST and Power Automate
  • Hide JSON column formatting for folder content type in SharePoint Online

Tags

2.3 A3 Adam Android Apps Backups Comparision Eden Electric Vehicle Error Graphics Hyper-V Javascript JSLink Microsoft Microsoft 365 Modal Modal Dialog Music Notion Ink Office 365 PnP PowerShell Power Automate Power Platform Query React Refiners REST Restore Samsung Galaxy S II Search SharePoint SharePoint 2010 SharePoint 2013 SharePoint Authentication SharePoint Online SharePoint Search SOAP string Video View WCF Window 10 Windows Windows 8

Categories

  • Android
  • Applications
  • Gadgets
  • Gaming
  • Graphics
  • JavaScript
  • Kannan
  • Links
  • Microsoft
  • Mobile
  • Music
  • OneDrive for Business
  • Photography
  • Power Apps
  • Power Automate
  • Power BI
  • React
  • Robots
  • Science
  • SharePoint
  • Site Related
  • Technology
  • Uncategorized
  • Vehicles
  • Videos
  • Virtualization
  • WCF
  • Web
  • Windows

Calendar

May 2025
MTWTFSS
 1234
567891011
12131415161718
19202122232425
262728293031 
« Feb    

Blogroll

  • About Kannan
  • Kannan's Photography
  • rainyHills by Raj

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Privacy Policy

Visit our privacy policy page for more information.

Copyright © 2014 • Binary Bits • Finch Theme