locked
Replace User msRTCSIP-GroupingID attribute with the OU ObjectGUID RRS feed

  • Question

  • Hello!

    I am trying to create a script that will replace the users msRTCSIP-GroupingID attribute with the OU ObjectGUID

    Can anyone help with this

    Get-ADUser -Filter * -SearchBase "OU=Test,OU=Tenants,DC=Mayernetworks,DC=COM"
    $OUobjectGUID = get-ADOrganizationalUnit -filter * -searchbase "ou=test,ou=tenants,dc=mayernetworks,dc=com" | ft ObjectGUID
    Set-ADUser $Accounts -Add @{"msRTCSIP-GroupingID"=$OUobjectGUID}

    i'm getting the argument is null error


    bradley Wyatt

    Wednesday, September 10, 2014 1:53 PM

Answers

  • I dont think this is supported 

    The attribute msRTCSIP-GroupingID should not be used in a commercial hosting environment and is not supported by Microsoft due to the privacy and security risks when providing multi-tenancy in a hosting environment. The use of the attribute only simulates a grouping of users in logical partitions, and does not create a true partition in which the security and privacy of the tenants can be tightly controlled.


    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

    • Proposed as answer by Edwin Anthony Joseph Wednesday, September 10, 2014 2:00 PM
    • Marked as answer by Lisa.zheng Thursday, September 18, 2014 4:56 AM
    Wednesday, September 10, 2014 2:00 PM
  • Hi bradley Wyatt,

    Lync Server 2013 Hosting Pack uses the Active Directory attributes msRTCSIP-TenantId and msRTCSIP-ObjectId to associate tenant OUs with individual users, so you must copy the tenant OUs to those attributes.

    Download Microsoft Lync Server 2013 Multitenant Hosting Pack Deployment Guide in the following link:

    http://www.microsoft.com/en-us/download/details.aspx?id=39101

    Check the section “9.2 Set TenantId and ObjectId”.

    Regards,

    Lisa Zheng


    Lisa Zheng
    TechNet Community Support

    • Proposed as answer by Lisa.zheng Wednesday, September 17, 2014 2:42 AM
    • Marked as answer by Lisa.zheng Thursday, September 18, 2014 4:56 AM
    Thursday, September 11, 2014 8:19 AM

All replies

  • Perhaps this article will help:

    http://blogs.msdn.com/b/jcalev/archive/2012/06/07/partitioning-lync-address-book-using-msrtcsip-groupingid.aspx


    Have you visited Lync News lately? All of the latest Lync news, articles, and tips collected in one giant aggregator. http://lyncne.ws

    Wednesday, September 10, 2014 2:00 PM
  • I dont think this is supported 

    The attribute msRTCSIP-GroupingID should not be used in a commercial hosting environment and is not supported by Microsoft due to the privacy and security risks when providing multi-tenancy in a hosting environment. The use of the attribute only simulates a grouping of users in logical partitions, and does not create a true partition in which the security and privacy of the tenants can be tightly controlled.


    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

    • Proposed as answer by Edwin Anthony Joseph Wednesday, September 10, 2014 2:00 PM
    • Marked as answer by Lisa.zheng Thursday, September 18, 2014 4:56 AM
    Wednesday, September 10, 2014 2:00 PM
  • Hi bradley Wyatt,

    Lync Server 2013 Hosting Pack uses the Active Directory attributes msRTCSIP-TenantId and msRTCSIP-ObjectId to associate tenant OUs with individual users, so you must copy the tenant OUs to those attributes.

    Download Microsoft Lync Server 2013 Multitenant Hosting Pack Deployment Guide in the following link:

    http://www.microsoft.com/en-us/download/details.aspx?id=39101

    Check the section “9.2 Set TenantId and ObjectId”.

    Regards,

    Lisa Zheng


    Lisa Zheng
    TechNet Community Support

    • Proposed as answer by Lisa.zheng Wednesday, September 17, 2014 2:42 AM
    • Marked as answer by Lisa.zheng Thursday, September 18, 2014 4:56 AM
    Thursday, September 11, 2014 8:19 AM