Office 365 user online status

I am developing a search page where displaying users from office 365. I have retrieved all the users using the command  Microsoft.SharePoint.Client.UserCollection userCollection = client_Context.Web.SiteUsers;. To retrieve all the property values
for a user i have used this command Microsoft.SharePoint.Client.UserProfiles.PersonProperties userInformation = peopleManager.GetPropertiesFor(oUser.LoginName);  
Now my customer wants to show the indication of user currently available in online or not. I don't know whether i will get this value from a property or need to call any other service to check online status.
If anybody have any information please answer my question.

Online Presence in SharePoint is provided client side by using whatever instant messaging client the user is using.  SharePoint doesn't actually keep track of who is online.  Here's an answer to another question that discusses the HTML used to
display presence.
http://stackoverflow.com/questions/637915/adding-presence-indicator-to-a-custom-web-part 
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

Similar Messages

  • Office 365 / Exchange Online - Hybrid Setup - On Premise User cannot see calendar of an Exchange Online User.

    Hi All, 
    The below will help if:
    You have a hybrid setup and cannot see Free/Busy info from an On Premise user for anyone on Office 365 / Exchange Online.
    You have your network firewall configured to allow your Exchange servers out through the proxy for O365/EXO url's
    - Get hold of SysInternals PSEXEC from Microsoft. 
    Run PSEXEC -i -s C"\Program Files (x86)\Internet Explorer\iexplore.exe"  (This opens Internet Explorer as the SYSTEM account)
    Goto Internet Options > Connections > LAN Settings and untick the "Automatically Detect Settings"
    Had this bouncing around at Microsoft for a few days until one of the guys tried this and it worked immediately.

    Forgot to mention, the PSEXEC command needs to be run as an Administrator
    Run PSEXEC -i -s C"\Program Files (x86)\Internet Explorer\iexplore.exe"  (This opens Internet Explorer as the SYSTEM account)
    Goto Internet Options > Connections > LAN Settings and untick the "Automatically Detect Settings"

  • Questions on managing Office 365/Exchange Online Mailboxes in Server 2012 Essentials

    Wondered if anyone could answer a couple of queries:
    When managing Office 365/Exchange Online mailboxes in Windows Server 2012 Essentials:-
    1. Does the server itself act as the Exchange server i.e. does it do all of the downloading/sending of emails or does Outlook on each workstation still communicate direct with the Office 365/Exchange Online server address?
    2. Does Outlook on each workstation have the Exchange server address set to the internal address of the Server 2012 Essentials box or does it still have the external Office 365/Exchange Online server address?
    I don't work for Microsoft - I just use their products.

    Hi,
    When you integrate Office 365/Exchange Online mailboxes in Windows Server 2012 Essentials,you can see the mailbox usage information on the Essentials Dashboard and manager users. However, the essentials server won't download/send emails and Outlook
    will still communicate with the O365/Exchange Online Server. In addition, the Exchange server address would be point to the external server address.
    You can also refer to the article below to get more related information:
    Email Options Supported by Windows Server 2012 Essentials
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Can we custom set workflow throttle and batch size in Office 365 SharePoint online ?

    Hi All,
    I am new to sharepoint online administration. I want to know that can we custom
    set workflow throttle and batch size in Office 365 SharePoint online ?? likewise we were able to do in SP Farm environment using stsadm cmdlets.
    Can we use SP Online management shell to do the same ?
    Please help !!!

    Thanks for the reply...
    But then how can I optimize my workflow against these properties in Sharepoint online site environment  ?
    Throttle
    Batch size
    Timeout
    Workflow timer interval
    AutoCleanUpDays ()
    refer : http://www.codeproject.com/Articles/251828/How-to-Improve-Workflow-Performance-in-SharePoint

  • Office 365 user Id and Azure

    I am trying to use Azure with my Office 365 account. I have a home version of Office 365 (the one for 5 users). When I try and do this I get the following message:
    "Sign out of your Microsoft account and sign in with the Office 365 user ID assigned to you by your work or school.
    Sign in with the Office 365 user ID assigned to you by your work or school. It looks like [email protected], [email protected], or [email protected]"
    I am using the only account I have for Office 365. I don't have another User Id. Does this mean my account is not entitled to use Azure?

    Hello,
    Microsoft Office 365 account does not give access to Microsoft Azure. These are different products.
    You can sign-up for a
    Trial Version of Microsoft Azure to start off with. You can also find the
    Pricing Details of Azure.
    Regards,
    Neelesh

  • Synchronize Lotus Domino Directory with Office 365/Exchange Online

    I have someone who is asking me to migrate them from a Lotus Domino server to Office 360/Exchange online. However they want to maintain a sync between Lotus Domino Directory and Office 365/Exchange Online. I'm wondering if that is even possible
    or would they need to have a regular Active Directory server act as a go between the two. Can anyone provide me some guidance/suggestions?
    Vincent Sprague

    Curious, did you ever get this setup?
    Reason I'm asking is I was involved with a large MSO365 migration (15k) from Lotus Notes. We had a separate AD forest just for email Dirsync. We involved a third party to setup the sync and migration between Notes and AD, and coexistence. It was rather complex.
    Out of the box, it would have been extremely difficult.
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • Office 365 Sharepoint Online and Infopath 2013

    I'm looking create an InfoPath 2013 form where the view changes based on the current user.  This is so different departments & managers get access to fields regular submitters don't see.
    This is in SharePoint Online with Office 365.  How can I manage this?  I have tried connecting to SharePoint online via a data connection, but I get errors when it tries to make the data connection.
    Are there any tutorials on how to do this, or at least something put point me in the right direction?

    Hi
    Did you check this
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-infopath-forms-services-HA102771487.aspx

  • Office 365 - Archiving online mailboxes to PST

    Good Afternoon,
    We have moved our mailboxes from on premise to Office 365. Before we can delete a user from the online admin centre we need to be able to archive their mailbox to a PST in case we need access to their email in the future.
    Any assistance with this matter would be greatly appreciated.
    Thanks and regards.
    Bryan

    Hi Bryan,
    I think the feathre you need is Inactive mailboxes in Exchange Online. This feathre allows you to keep a terminated employees mailbox on your Office 365 cloud environment even after you have deleted their user account and freed up their licence.
    More reference:
    http://technet.microsoft.com/en-us/library/dn144876(v=exchg.150).aspx
    For more details about this, I'd suggest you post in the forum of Microsoft Online: Exchange Online or
    Office 365 Community, as current forum only focuses on questions and feedback for Microsoft Office client.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Access denied office 365 / SharePoint online with Global Admin account

    Hi All,
    I am going crazy since two days solving an issue. The problem is;
    I am making a console APP which is talking to SharePoint Online using global admin account (One which was specified as admin while making a new subscription). What I am trying to achieve is, I want to add a custom action using CSOM to each site collection and
    subsite of office 365. That code works fine except on the root site collection which is pre-created by office 365 while signing up (i.e. https://xyz.sharepoint.com)
    Whatever I do on that site collection, it says gives me below error;
    "SchemaVersion":"15.0.0.0","LibraryVersion":"16.0.3912.1201","ErrorInfo":{
    "ErrorMessage":"Access denied. You do not have permission to perform this action or access this resource.","ErrorValue":null,"TraceCorrelationId":"2a47fd9c-c07b-1000-cfb7-cdffbe3ab83a","ErrorCode":-2147024891,"ErrorTypeName":"System.UnauthorizedAccessException"
    },"TraceCorrelationId":"2a47fd9c-c07b-1000-cfb7-cdffbe3ab83a"
    Now the user is global admin. I also added again that user as site collection admin. 
    The same piece of code works fine on other site collections (search site collection, any newly made site collection...). 
    here is a code;
                using (ClientContext spcollContext = new ClientContext(web.Url))
                    SecureString passWord = new SecureString();
                    foreach (char c in strAdminPassword.ToCharArray()) passWord.AppendChar(c);
                    SharePointOnlineCredentials creds = new SharePointOnlineCredentials(strAdminUser, passWord);
                    spcollContext.Credentials = creds;
                    Web currentweb = spcollContext.Web;
                    spcollContext.Load(currentweb);
                    spcollContext.ExecuteQuery();
               //     authCookie = creds.GetAuthenticationCookie(new Uri(web.Url));
                    var existingActions2 = currentweb.UserCustomActions;
                    spcollContext.Load(existingActions2);
                    spcollContext.ExecuteQuery();
                    var actions2 = existingActions2.ToArray();
                    foreach (var action in actions2)
                        if (action.Description == "CustomScriptCodeForEachsite" &&
                            action.Location == "ScriptLink")
                            action.DeleteObject();
                            spcollContext.ExecuteQuery();
                    var newAction2 = existingActions2.Add();
                    newAction2.Description = "CustomScriptCodeForEachsite";
                    newAction2.Location = "ScriptLink";
                    newAction2.ScriptBlock = scriptBlock;
                    newAction2.Update();
                    spcollContext.Load(currentweb, s => s.UserCustomActions);
                    spcollContext.ExecuteQuery(); // GETTING ERROR ON THIS LINE. 
    Note: Above error is Fiddler traces.
    Nitin Khubani Sharepoint Developer

    Hi Nitin Khubani,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issue about
    apps for Office. Since the issue is more relative to SharePoint developing, I would like to move it to
    SharePoint 2013 - Development and Programming forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Office 365 Sharepoint Online with RMS

    I'm looking to setup a new SharePoint Online set in Office 365 and implement RMS. I need to know if RMS with Office 365 and SharePoint will protect PDF's and other types of files or just Office files like word and excel?
    Vincent Sprague

    I'm looking to setup a new SharePoint Online set in Office 365 and implement RMS. I need to know if RMS with Office 365 and SharePoint will protect PDF's and other types of files or just Office files like word and excel?
    Vincent Sprague
    https://support.office.com/en-au/article/Set-up-Information-Rights-Management-IRM-in-SharePoint-admin-center-239ce6eb-4e81-42db-bf86-a01362fed65c?ui=en-US&rs=en-AU&ad=AU
    SharePoint Online supports encryption of the following file types:
    - PDF
    - The 97-2003 file formats for the following Microsoft Office programs: Word, Excel, and PowerPoint
    - The Office Open XML formats for the following Microsoft Office programs: Word, Excel, and PowerPoint
    - The XML Paper Specification (XPS) format
    -=-=-=-
    http://blogs.technet.com/b/rms/archive/2014/08/26/rmsaugust2014update.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to deploy PowerPivot/Power BI in Office 365 SharePoint Online?

    We have several users on Office 365 (E2 Subscription) who have Excel 2013 and PowerPivot on their individual computers who would like to place PowerPivot apps on SharePoint for users without Excel to view.
    How can we do this?

    Your users can do this now if interactivity isn't required. If it is, you'll need to move up to an E3 plan. If your models exceed 10 MB, and you want interactivity, you'll need Power BI licenses for your users.
    John

  • Find all Office 365 users where calendar permissions on default user is not "NonEditingAuthor"

    Hi
    How do I make a Powershell script to find all users where calendar permissions on "default" user is not "NonEditingAuthor" in Office 365?
    Best Regards
    MSISOM

    Hi MSISOM,
    To export calendar permission on default user, please refer to this script:
    $rptCollection = @()
    $mailboxes = get-mailbox -ResultSize Unlimited
    $mailboxes | foreach-object{
    $alias = $_.alias + ":\Calendar"
    $displayName = $_.DisplayName
    write-host $alias
    $permissions = Get-MailboxFolderPermission $alias | Where-Object {$_.user.UserType.value -eq "Default"}
    if($permissions -ne $null){
    foreach($perms in $permissions){
    foreach($right in $perms.AccessRights){
    $rptCollection += New-Object psobject -Property @{
    "User" = $perms.User
    "Identity" = $perms.Identity
    "StringAccessRights" = $right}
    }$rptCollection
    The result is for your reference:
    Then you can filter the result with the cmdlet "where-object {}"
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Deploying custom dictionaries to Office 365 users

    Hi All,
    We are currently in the process of migrating some of our user accounts to Office 365 during which we have discovered that once these account are migrated they are no longer using the organisations custom dictionary we deploy via group policy to
    all users. If we clear all of the values out of "HKCU\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" and then add the dictionaries in as per the below article's instructions Word will use our custom dictionaries.
    However we want to avoid clearing all of the values out of "HKCU\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" because this will mean that any custom dictionaries our users have manually added will be lost.
    (http://blogs.technet.com/b/office_resource_kit/archive/2011/12/16/deploying-a-custom-dictionary.aspx)
    Below is the result of GPP registry items we have in place to set custom dictionaries.
    However after Office 365 it appears users are logging into Office applications with their Organisational account and we're seeing the following registry changes and the custom dictionaries are
    no longer applied:
    If you add the registry items in the article to the above key once the users have migrated to office 365 it doesn't work.
    Any advice about how we can get our custom dictionary deployed to all of these users without wiping out all of their custom dictionaries would be greatly appreciated.
    Cheers,
    Joe

    Hi,
    Since I don't have the exactly same environment, I suggest you try to manually transfer the user's dictionary, after the dictionary is added to Office 365 Application, check what changes have been made in the Registry settings, maybe this can let
    us know how to modify the registry keys to accomplish the migration.
    To transfer the custom dictionary, copy the custom dictionaries to your transfer location. If you've saved other custom dictionaries in different folders, copy them too.
    On the new Office, open Word -> FILE -> Options -> Proofing -> When correcting spelling in Microsoft Office programs -> Custom Dictionaries -> Click "Add" and browse to the dictionary file, open it. After the dictionary is added
    to the new Office install, check the registry settings under "HKCU\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries" to know what changes have been made to let it take effect.
    This method doesn't bring you to the direct solution but may be a way to find it.
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Office 365 user identification

    Hi, AllSo we migrated all our users to Office 365 in March. Of course, we're now getting into the second quarter of full usage.However, someone sent an email to 'all' users, and got a bounceback. I am not certain how to identify the user in question. Might someone have some advice where to start?I tried the get-msoluser command, but the GUID's don't seem to match.
    Your message toIMCEAEX-_o=NT5_ou=00000000000000000000000000000000_cn=[email protected] couldn'tbe delivered.Your mail program is using out-of-date address information forIMCEAEX-_o=NT5_ou=00000000000000000000000000000000_cn=D26DAA6CDC094B4C94C17FAEA3C7AF31Kim.MarshallOffice 365IMCEAEX-_o=NT5_ou=00. . .Action RequiredRecipientTICKET #10451
    This topic first appeared in the Spiceworks Community

    Hi, AllSo we migrated all our users to Office 365 in March. Of course, we're now getting into the second quarter of full usage.However, someone sent an email to 'all' users, and got a bounceback. I am not certain how to identify the user in question. Might someone have some advice where to start?I tried the get-msoluser command, but the GUID's don't seem to match.
    Your message toIMCEAEX-_o=NT5_ou=00000000000000000000000000000000_cn=[email protected] couldn'tbe delivered.Your mail program is using out-of-date address information forIMCEAEX-_o=NT5_ou=00000000000000000000000000000000_cn=D26DAA6CDC094B4C94C17FAEA3C7AF31Kim.MarshallOffice 365IMCEAEX-_o=NT5_ou=00. . .Action RequiredRecipientTICKET #10451
    This topic first appeared in the Spiceworks Community

  • Office 365 Lync Online / Skype For Business Journaling

    Hello, 
    From what I have found in my research, there is no way to journal Lync Online / Skype For Business IMs with Office 365.  Please correct me if I'm wrong.  Is anyone doing this by way of workaround or 3rd part product?  
    Thanks in advance. 
    This topic first appeared in the Spiceworks Community

    Thanks for the clear dialogue and responses.
    I want upgrade from Skype to Skype for Business, BUT want to retain my Skype ID (which is printed on my business cards) and existing contact connections.
    My situation is similar to Jim Carpenter's, in that I've used Skype for years.  I have it linked to my old Microsoft account that I'd set up for the old SkyDrive (now OneDrive) product. When I bought Office 365 Business Premium (includes Skype for Business), it necessitated creating a second Microsoft ID using the suffix [e-mail removed for privacy and security] to set up my new business account. That is a different login than my existing Skype login tied to the original MS account, and the new one not only accesses the MS programs, it accesses Exchange, through which I run Outlook calendar and contacts.
    So, are these the steps I should take?
    Unlink my existing Skype account
    then uninstall Skype
    then install Skype for Business
    I would guess that there would need to be a re-linking step of some sort, too, but I'm unclear on this.  Guidance?
    Please confirm that is the best path.  Will this process allow me to migrate the Skype ID and contacts to the business app?
    Thanks much.

Maybe you are looking for

  • My emails do not load to iphone 4S

    Hello, my emails are not loading to my iphone4S since november 7, 2012. Says it last updated 11/16/12 when I called because I could not text message I think. That is fixed but between 11/7 and 16 I think this was the same time an update went out. Whe

  • Why is Photoshop Elements 11 incompatible with Windows 7?

    Why is Photoshop Elements not Compatible with Windows 7?

  • Best way to present mockups to clients

    I have been wondering what the best way is to present FW mockups to clients. With only a single client, one on one with a laptop is fine; however, with several around a conference table, it becomes very awkward. I have considered buying a projector,

  • How do i update itunes for mac?

    how do i update itunes for macbook pro? i updated my phone and now i cant connect my phone and computer in itunes

  • How to implement a CURSOR & looping inside ODI 11g Procedure

    Hello All, I have requirement where in my source data has multiple rows for an Item number with different Product numbers, I have to concatenate all the Product Numbers of speciifc Item number and update it into another column on the same table. How