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:

    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

    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?



    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.



    Friday, February 3, 2017 2:59 PM