none
MIM 2016 Office365 provisioning (Soren Granfeldt PSMA) RRS feed

  • Question

  • Hi!

    I have a task to manage user accounts and assign/revoke a licenses for Office365 users.

    This is my first expirience with such integration, so, as I understand I need to do 2 main tasks:

    1. Import current licensing information

    2. Assign and revoke licenses with information regarding user plans in metaverse.

    So, now I'm trying to make first part to work.

    I get this article:

    https://blog.kloud.com.au/2016/08/26/office365-licensing-management-agent-for-microsoft-identity-manager/

    and trying to run full import run profile, but I getting this error:

    DN is unavailable / missing-anchor-value / No value provided for anchor attribute


    In this thread 

    https://social.technet.microsoft.com/Forums/en-US/3bf23eb9-fc1f-4f56-85aa-0c730c019a6c/missinganchorvalue-error-using-powershell-ma-soren-granfeldt?forum=ilm2

    I found what the problem can be in import script, but script already have a such statement ( $obj2.Add("objectClass", "LicensePlans")), so I think that this is not a problem.

    Any ideas?

    Thanks!


    1

    Friday, February 3, 2017 9:47 AM

All replies

  • What attribute have you configured in your Schema.ps1 as Anchor?

    You are probably not adding this. Try

    $obj2.Add("anchorName", "Anchorvalue"))

    where anchorName is the name of your anchor.


    Did my post help? Please use "Vote As Helpful", "Mark as answer" or "Propose as answer". Thank you!

    Friday, February 3, 2017 12:39 PM
  • Yes, inSchema.ps1 there is a definition "Anchor-ID|String"

    And in MA properties I can see that ID is declared as anchor attribute.

    And I have this in code:

      $obj.Add("ID", $user.objectId)

    So, it seems to be a correct code.


     

    1

    Friday, February 3, 2017 2:59 PM