This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ITOperating Data UID_ADSContainer assigned based on Dynamic Role

Hola,

Ok so I have commandeered a custom property on the person to be a list item with (3) values:

  1. Employee
  2. Consultant
  3. AvisoryMember

I have created corresponding dynamic roles to match the above. Lets take employees as our example.

Couple of notes:

  1. Person records that have the value "Employee" in the custom property are appropriately assigned to the Dynamic Role called "Employees"

  2. Every employee gets: 

    • A standard user account definition (Works fine)
    • A standard Mailbox (Standard user account as required account def. works fine as well)

  3. The "Employee" dynamic role has IT Operating Data assigned against the Standard user Account Definition that should assign the OU of the ADSAccount based on the value.

    • Example: TSBAccountDef:Standard User Account (DOMAIN) - ADSAccount.UIDADSContainer
      • The selected OU is "Employees"

  4. The ADSAccount.UID_ADSContainer template is configured as follows:

    • '$FK(UID_Person).UID_Department$
      '$FK(UID_Person).UID_Locality$
      '$FK(UID_Person).UID_ProfitCenter$
      #If ORG Then
      '$FK(UID_Person).UID_Org$
      #End If
      If CBool(Connection.Variables.Get("FULLSYNC")) = False Then
      Select Case ($FK(UID_TSBBehavior).ITDataUsage:Int$)
      	Case 0:'do not get data from employee
      	Case -1:'fill property initially from the ITData of the employee
      		If Not $[IsLoaded]:Bool$ Then
      			Value = TSB_ITDataFromOrg($UID_Person$, $UID_TSBAccountDef$, Base.TableDef.Columns("UID_ADSContainer")) 
      		End If
      	Case 1:'update property depending on ITData of the employee
      		Value = TSB_ITDataFromOrg($UID_Person$, $UID_TSBAccountDef$, Base.TableDef.Columns("UID_ADSContainer"))
      	
      	End Select
      End If


The issue is that while the dynamic role assignments work great, the corresponding ADSAccount does not move into the OU. I presume that I am missing something as this seems to be a rather straight forward use case.

What am I doing wrong here?

Thanks!

Parents
  • Thanks Markus,

    Interestingly I am running in manager as the viadmin so I don’t think I have a permission issue per-say.

    Could be that I goofed the copy and paste of the UID_ADSContainer somehow. I will roll into the office in a bit, at which point I will check and report back.

    Glad to get ur confirmation that the ITO data against the profit center in your view should get it there, I will investigate some more and focus on making that the primary driver for ITO Data against my standard account definition.

    Then I should be able to remove that goofy forced template edit I made (which doesn’t work anyway).
Reply
  • Thanks Markus,

    Interestingly I am running in manager as the viadmin so I don’t think I have a permission issue per-say.

    Could be that I goofed the copy and paste of the UID_ADSContainer somehow. I will roll into the office in a bit, at which point I will check and report back.

    Glad to get ur confirmation that the ITO data against the profit center in your view should get it there, I will investigate some more and focus on making that the primary driver for ITO Data against my standard account definition.

    Then I should be able to remove that goofy forced template edit I made (which doesn’t work anyway).
Children
No Data