Thursday, 28 November 2013

How to enable Sign in as different user option in SharePoint 2013


By default in SharePoint 2013 there is no option for "Sign in as different user".
Following the below mentioned steps you can enable this option in SharePoint 2013.


Step: 1
Go to the location C:\Program Files\Common Files\microsoft shared\Web ServerExtensions\15\TEMPLATE\CONTROLTEMPLATES.
Here we have a file named welcome.ascx.
We need to edit this file to enable the option.
Step: 2
Open welcome.ascx in Visual Studio or in Notepad and add the following code and save:

<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
  Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
  Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
  MenuGroupId="100"
  Sequence="100"
  UseShortId="true"
  />
And it should be above the tag which has ID_RequestAcess.
Refresh the page

SharePoint 2010 – Creating Host Name for Web Application





SharePoint 2010 – Creating Host Name for Web Application

In this article we can explore how to quickly setup a Host Name for the SharePoint Web Application.

Why we need Host Names?

I hope some of you might be having a question in mind why we need a host name.  I will try to explain the purpose.
You have the following website for a user:
You said that each of the represents the following:
  • Financial Site
  • HR Site
  • Research Site
The problem is difficulty in using those urls as there is no meaning associated with it.  A better solution would be:
So this neat and clean approach requires configuring Host Headers for the SharePoint web applications.   The host header configured will get passed in the HTTP header message.  The host header has to be published inside a DNS server to get it resolved to IP and port.
 The approach used here can be used across Windows 7 and Windows 2008 machines.  Please note that you can even configure host names with site collections too.

Our Aim

We are trying to create a web application with the following name:
            http://myapp.server.net
Following are the steps involved:

Step 1: Create the Host Name

Open the hosts file from the following location:
C:\Windows\System32\drivers\etc
Enter the following line into it and save the file:
            127.0.0.1 myapp.server.net
Now the file content looks like:
 

Step 2: Create Web Application

Open the SharePoint Central Administration and create a new web application.

Please note to set the following properties:
            Port: 80

            Host Header: myapp.server.net
The properties are highlighted below:

After entering all the details click the Save button.  Wait for the operation to be completed and you can try entering the url in the browser.
            http://myapp.server.net

Step 3: Disable Loopback

If you get a prompt for the user and you may face the following issues:
  • There is continuous prompt for the credentials
  • HTTP 401.1 error
This shows that there is a problem with the Loopback configuration.  This case should occur only when we access the application from the server machine.
For fixing the problem we have to disable Loopback value inside registry.
Open Registry Editor (regedit.exe) and locate the following key:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Create a new Key Value of type DWORD inside it and set the value to 1
 

Step 4: Test the Host Name

Now you can try entering the host name in the browser and you should be able to access the site after entering credentials.

If you can see the site as shown above then you are done with the Host Header configuration.

References

Summary

In this article we have explored how to quickly setup a Host Name for the SharePoint Web Application. In real world scenarios the SharePoint Administrator need to work with the Network Administrators to configure these entries.


Configuring User Profiles service application on sharepoint 2010

Configuring User Profiles

Configuring User Profiles
1. Log on as Domain\Service_name
2. Click Start, then click Administrative Tools, and then click Internet
Information Services (IIS) Manager.
3. Expand Server_name
4. Click Application Pools.
5. If Microsoft® SharePoint® Web Services Root is not started, then right-click
SharePoint Web Services Root, and then click Start.
6. Close Internet Information Services (IIS) Manager.
Create a user profile service application
1. Open SharePoint 2010 Central Administration.
2. In the Quick Launch, click Application Management.
3. In the Service Applications section, click Manage service applications.
4. Click New, and then click User Profile Service Application.
The Create New User Profile Service Application page opens.
5. In the Name box, type User Profile Service Application.
6. In the Application pool name box, type UserProfilePool.
7. In the Configurable list, select Domain\Service_account
8. Rename DBs as needed
9. Click Create.
The service application is created.
10 Click OK.
Start required SharePoint services
1. In the Quick Launch, click System Settings.
2. In the Servers section, click Manage services on server.
The Services on Server page opens.
3. In the User Profile Service row, click Start.
4. In the User Profile Synchronization Service row, click Start.
The User Profile Synchronization Service page opens.
5. In the Select the User Profile Application list, select User Profile Service
Application.
6. In the Password and Confirm Password boxes,
7. Click OK.
8. Observe the Status of the User Profile Synchronization Service.
A timer job is created that will configure user profile settings in the farm.
When it has completed, the status of the service will change from Starting to
Started.
9. In the Quick Launch, click Monitoring.
10. In the Timer Jobs section, click Check job status.
11. In the Timer Links section of the Quick Launch, click Running Jobs.
12. Monitor the page.
13. Press F5 to refresh the page.
14. Repeat this step until the ProfileSynchronizationSetupJob appears.
15. Monitor the page. Press F5 to refresh the page. Repeat this step until the
ProfileSynchronizationSetupJob disappears.
16. In the Timer Links section of the Quick Launch, click Job History.
17. Confirm that the Status of ProfileSynchronizationSetupJob isSucceeded.
18. In the Quick Launch, click System Settings.
19. In the Servers section, click Manage services on server.
The Services on Server page opens.
20. Confirm that the Status of the user profile synchronization serviceis
Started.
21. Close SharePoint 2010 Central Administration.
Verify successful service startup
1. Click Start, click Administrative Tools, and then click Services.
2. Confirm that the following services are started:
• Microsoft Forefront™ Identity Manager Service
• Forefront Identity Manager Synchronization Service
If a service is not started, then press F5 to refresh the view. Repeat this step
until the services have started.
Note: This can take several minutes.
3. Close the Services console.
4. Open the folder C:\Program Files\Microsoft Office Servers\14.0
\Synchronization Service\MaData.
5. Confirm that the ILMMA folder exists. Confirm that a folder named
MOSS-GUID exists with today’s date.
If the folders do not exist, wait until the timer job has completed fully, at
which point the folders will appear.
6. Close the Windows® Explorer window that is showing the MaData folder.
Reset IIS
1. Click Start, right-click Command Prompt, and then click Run as
administrator.
The Windows Security dialog box appears.
2. Click Yes.
3. Type IISRESET, and then press ENTER.
4. After the command has completed, close Administrator: Command Prompt.
Validate the service application
1. Open Microsoft SharePoint® 2010 Central Administration.
2. In the Quick Launch, click Application Management.
3. In the Service Applications section, click Manage service applications.
The Manage Service Applications page opens.
4. Click User Profile Service Application.
The management page for the service application opens.
If an error is displayed, it is probably because the Web services have not
completed startup following the IISRESET operation. Press F5 to refresh the
page until the error disappears.
5. Confirm that there are numbers on the right side of the page, which indicates
that the service application is running.
6. Close SharePoint 2010 Central Administration.
Create a user profile connection to Active Directory
1. Open the SharePoint 2010 Central Administration.
2. In the Quick Launch, click Application Management.
3. In the Service Applications section, click Manage Service Applications.
The Manage Service Applications page opens.
4. Click User Profile Service Application.
The Manage Profile Service page opens.
5. In the Synchronization section, click Configure Synchronization
Connections.
The Synchronization Connections page opens.
6. Click Create New Connection.
The Add new synchronization connection page opens.
7. In the Connection Name box, type Domain Active Directory.
8. In the Forest name box, type Domain.
9. In the Account name box, type Domain\Service_account
10. In the Password and Confirm password boxes11. Click Populate Containers.
12. In the Containers section, expand Domain, and then select the _users
13. Click OK.
A new synchronization connection is created.
Import user profiles from Active Directory
1. In the Quick Launch, click Application Management.
2. In the Service Applications section, click Manage service applications.
3. Click User Profile Service Application.
4. In the Synchronization section, click Start Profile Synchronization.
5. Click Start Full Synchronization.
6. Click OK.
7. Wait one minute.
The synchronization does not start immediately.
8. Press F5 to refresh the page.
9. Observe the Profile Synchronization Status in the Profile Synchronization
Settings section.
  • Return to step 8 until the Profile Synchronization Status displays Idle.
  •  After configuring SharePoint 2010’s User Profile Services with successful synchronization of user profiles, setting up your My Site host you assume that all should be well to be able to perform People search and bring people’s profiles. Well, not all the time. In order to for SharePoint to successfully crawl the user profiles from the User Profile Service you need to give the search account the “Retrieve People Data for Search Crawler” permission.
  • For the permission following the following steps:
    • In Central Administration choose Application Management the Manage Service Applications
    • Select the User Profile Service by tapping towards the right of the text
    • Choose the Administrators button from the toolbar
    • If you search account is not included go ahead and add it to the list
    • Check the Retrieve People Data for Search Crawlers permission
    • Click Ok
    image
    That should generally do it. You would then need to force a full crawl in order to confirm that the crawler now indexes all user profiles. Of course I’m assuming that you have already setup a Search Center in order to be able to test the People search functionality.
    In some cases this might not work if the default My Site is not part of the Local SharePoint Sites search source. In that case you need to add the “sps3://my” or “sps3://mysite” or whatever your My Site Host is named.
there is nice link with screen shoots for this issue i didnt try it but may be you will like it

How To Setup SharePoint 2010 User Profile Synchronization with Active Directory on Windows Server 2008 R2

How To Setup SharePoint 2010 User Profile Synchronization with Active Directory on Windows Server 2008 R2

Configuration Steps
Login to dcserver.contoso.com as contoso\administrator.
Create a SharePoint farm admin account named ‘spadmin’.
a. Use Active Directory Users and Groups to create contoso\spadmin the account name should be ‘SharePoint Admin’.
b. Setup a Contoso OU and add user accounts into the OU as required for your own testing.
3. Run Delegation Control wizard to add contoso\spadmin account to “Replication Directory Changes” permissions.
a. Right click domain and click “Delegate Control…”
b. Click Next.
c. Add contoso\spadmin and click Next.
d. Select “Create a custom task to delegate” and then click Next.
e. Click Next.
f. Check the “Replicating Directory Changes” in the Permissions window and then click Next.
g. Click Finish to complete the Delegation of Control Wizard.
4. Add the contoso\spadmin account as a local machine administrator to the SharePoint WFE (sharepoint).

Displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more

Displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more

Introduction

How many times have you walked up to a system in your office and needed to click through several diagnostic windows to remind yourself of important aspects of its configuration, such as its name, IP address, or operating system version? If you manage multiple computers you probably need BGInfo. It automatically displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more. You can edit any field as well as the font and background colors, and can place it in your startup folder so that it runs every boot, or even configure it to display as the background for the logon screen.
Because BGInfo simply writes a new desktop bitmap and exits, you don’t have to worry about it consuming system resources or interfering with other applications.
Sysinternals BgInfo

Installation and Use

See Mark’s Windows IT Pro Magazine  Power Tools article for a primer on using BgInfo. If you have questions or problems, please visit theSysinternals BgInfo Forum.
By placing BGInfo in your Startup folder, you can ensure that the system information being displayed is up to date each time you boot. Once you’ve settled on the information to be displayed, use the command-line option /timer:0 to update the display without showing the dialog box.
You can also use the Windows Scheduler to run BGInfo on a regular basis to ensure long-running systems are kept up to date.
If you create a BGInfo configuration file (using the File|Save Settingsmenu item) you can automatically import and use those settings on other systems by adding the /I<path> or /iq<path> command line option.

Wednesday, 13 November 2013

Creating Users from Office 365 online

1.login into office 365 with administrator user name and password

2. go to users and groups

3. click to add new users