Thursday, 10 May 2012

Manage SharePoint 2010 Users with Active Directory

Manage SharePoint 2010 Users with Active Directory

This article will go over managing users in SharePoint 2010 if attached to a domain or active directory. If you need instructions for managing contacts in SharePoint 2007 or creating additional users, please see the articles below:
To manage users in SharePoint 2010 using active directory, please follow these steps:
  1. Log into your server through Remote Desktop Connection (instructions for connecting to your server through RDC can be found here).
  2. Navigate to Start > Administrative Tools > Active Directory Users and Computers.
  3. Expand the active directory domain and right-click Users and choose New > User.
  4. Enter in the user’s name, username (login name) and click Next.
  5. After clicking Next you will be prompted to enter in a password for the user. Enter in a secure password, click Next, and then click Finish.
  6. The AD user is now setup.
  7. To add the user to SharePoint, log into the SharePoint site as the account administrative user.
  8. Navigate to Security and click the Security link.
  9. Under Users, click Specify web application user policy.
  10. Once under the users page, click Add Users.
  11. Select the web application the user should have access to and the zones. Click Next.
  12. In the Users field, find the local user or enter in the user name. Choose the permissions the user should have and click Finish. The user is now added to that web application.
May 9, 2012

Installing Active Directory in Windows Server 2008 R2

Server Manager/Initial Configuration Tasks

Roles can and should be added from Server Manager (but they can also be initiated from the Initial Configuration Tasks wizard that auto-opens the first time you log on to the server).
    1. Open Server Manager by clicking the icon in the Quick Launch toolbar, or from the Administrative Tools folder.
    2. Wait till it finishes loading, then click on Roles > Add Roles link.

    1. In the Before you begin window, click Next.

    1. In the Select Server Roles window, click to select Active Directory Domain Services, and then click Next.

    1. In the Active Directory Domain Services window read the provided information if you want to, and then click Next.

    1. In the Confirm Installation Selections, read the provided information if you want to, and then click Next.

    1. Wait till the process completes.

    1. When it ends, click Close.

    1. Going back to Server Manager, click on the Active Directory Domain Services link, and note that there’s no information linked to it, because the DCPROMO command has not been run yet.

  1. Now you can click on the DCPROMO link, or read on.
      1. To run DCPROMO, enter the command in the Run command, or click on the DCPROMO link from Server Manager > Roles > Active Directory Domain Services.

      1. Depending upon the question if AD-DS was previously installed or not, the Active Directory Domain Services Installation Wizard will appear immediately or after a short while. Click Next.

    Note: The Advanced features of DCPROMO will be discussed in a future article.
    FREE e-Book: Developing Applications for the Cloud, 2nd Edition
      1. In the Operating System Compatibility window, read the provided information and click Next.

      1. In the Choosing Deployment Configuration window, click on “Create a new domain in a new forest” and click Next.

      1. Enter an appropriate name for the new domain. Make sure you pick the right domain name, as renaming domains is a task you will not wish to perform on a daily basis. Click Next.

    Note: Do NOT use single label domain names such as “mydomain” or similar. You MUST pick a full domain name such as “mydomain.local” or “mydomain.com” and so on.
    The wizard will perform checks to see if the domain name is not already in use on the local network.

      1. Pick the right forest function level. Windows 2000 mode is the default, and it allows the addition of Windows 2000, Windows Server 2003 and Windows Server 2008 Domain Controllers to the forest you’re creating. Read my “Understanding Windows Server 2008 Active Directory Domain and Forest Functional Levels” article for more information on that.

      1. Pick the right domain function level. Windows 2000 Native mode is the default, and it allows the addition of Windows 2000, Windows Server 2003 and Windows Server 2008 Domain Controllers to the domain you’re creating.

    Note: If you select “Windows Server 2008″ for the forest function level, you will Not be prompted to pick a domain function level. Read more about domain and forest function levels on my “Understanding Windows Server 2008 Active Directory Domain and Forest Functional Levels” article.
      1. The wizard will perform checks to see if DNS is properly configured on the local network. In this case, no DNS server has been configured, therefore, the wizard will offer to automatically install DNS on this server.

    Note: The first DCs must also be a Global Catalog. Also, the first DCs in a forest cannot be a Read Only Domain controller.
      1. It’s most likely that you’ll get a warning telling you that the server has one or more dynamic IP Addresses. Running IPCONFIG /all will show that this is not the case, because as you can clearly see, I have given the server a static IP Address. So, where did this come from? The answer is IPv6. I did not manually configure the IPv6 Address, hence the warning. In a network where IPv6 is not used, you can safely ignore this warning.

      1. You’ll probably get a warning about DNS delegation. Since no DNS has been configured yet, you can ignore the message and click Yes.

      1. Next, change the paths for the AD database, log files and SYSVOL folder. For large deployments, carefully plan your DC configuration to get the maximum performance. When satisfied, click Next.

      1. Enter the password for the Active Directory Recovery Mode. This password must be kept confidential, and because it stays constant while regular domain user passwords expire (based upon the password policy configured for the domain, the default is 42 days), it does not. This password should be complex and at least 7 characters long. I strongly suggest that you do NOT use the regular administrator’s password, and that you write it down and securely store it. Click Next.

      1. In the Summary window review your selections, and if required, save them to an unattend answer file. When satisfied, click Next.

      1. The wizard will begin creating the Active Directory domain, and when finished, you will need to press Finish and reboot your computer.

    Note: You can automate the rebooting process by checking the Reboot on Completion checkbox.
for more info please info please visit http://www.sharepointreferences.wordpress.com

Monday, 7 May 2012

InfoPath form library forms cannot be filled out in a Web browser


 InfoPath form library forms cannot be filled out in a Web browser
One or more of the following might be causing this:
The Render form templates that are browser-enabled by users check box in Central Administration is cleared.
The following Windows PowerShell command has been run:
Set-SPInfoPathFormsService -AllowUserFormBrowserRendering $false.
Solution:

Enable browser rendering of user forms by using Central Administration
Verify that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.
In Central Administration, on the Home page, click General Application Settings.
On the General Application Settings page, in the InfoPath Forms Services section, click Configure InfoPath Forms Services.
On the Configure InfoPath Forms Services page, in the User Browser-enabled Form Templates section, select the Render form templates that are browser-enabled by users check box.
Click OK at the bottom of the page.
Using power shell
Enable browser rendering of user forms by using Windows PowerShell
Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
On the Start menu, click All Programs.
Click Microsoft SharePoint 2010 Products.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Set-SPInfoPathFormsService -AllowUserFormBrowserRendering $true


for more info please info please visit http://www.sharepointreferences.wordpress.com

Built-in or local computer accounts are used as an application pool identity or service identity.

Built-in or local computer accounts are used as an application pool identity or service identity.
  Using built-in accounts as application pool identities or as service identities is not supported in a farm configuration. Built-in accounts include Network Service, Local Service, and Local System.

Solution:

Change the identity that is used for the service or application pool

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.
  2. On the Central Administration Home page, click Security.
  3. On the Security page, in the General Security section, click Configure service accounts.
  4. On the Service Accounts page, in the Credential Management section, in the upper drop-down list, click the service or application pool for which you want to change the identity.
  5. In the Select an account for this componentlist, click the domain user account that you want to associate with the service or application pool.If you want to register the account that you selected on the SharePoint Foundation 2010 farm, click Register Managed Account.
  6. Click OK.
for more info please info please visit http://www.sharepointreferences.wordpress.com

Verify each User Profile service application has a My Site Host configured






Verify each User Profile service application has a My Site Host configured


Without a My Site host, end-users are not able to use personal sites or people profiles. Therefore, we recommend that if you create a User Profile Service service application, you also create a My Site host for the User Profile Service.
Symptoms:   My Sites and other people profile features are not available to users.
Cause:   The administrator who created the User Profile Service service application did not also create a My Site host.

Solution:   Verify that a My Site site collection has been created

Solution:   Associate the My Site host with a User Profile Service service application by using Windows PowerShell
  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
  2. On the Start menu, click All Programs.
  3. Click Microsoft SharePoint 2010 Products.
  4. Click SharePoint 2010 Management Shell.
  5. At the Windows PowerShell command prompt, type the following command:
    Set-SPProfileServiceApplication [-Name <UserProfileServiceApplicationName>] -MySiteHostLocation <URL>
    Where:
    • <UserProfileServiceApplicationName> is the friendly name of the User Profile Service service application. If you only have one User Profile Service service application, you do not need to specify the name.
    • <URL> is URL of an empty site collection that has no templates associated with it.
for more info please info please visit http://www.sharepointreferences.wordpress.com