Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Active Directory Notes\Info field

Hello!

 

I am hoping someone can help me. I am trying to build a report using the Active Directory group table. I have all the attributes I need except for one which is the notes field. Within Active Directory this field is typically located at the bottom of the general tab. When pulling this field via Powershell it is normally called "info". I am unable to find this field when pulling the group table into Power BI. Does anyone know what it is called or am I looking in the wrong table?

 

 

3 Replies

  • Hi Anonymous ,

    Please see if this blog can help you.

    Best Regards,
    Community Support Team _ kalyj

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Hi,

     

    The "notes" field (called info for whatever reason) is in the mailrecipient field.

  • I found solution for it:

    $params = @{
        SamAccountName        = $cod
        Name                  = "$name $sname"
        DisplayName           = "$name $sname"
        GivenName             = $name
        Surname               = $sname
        UserPrincipalName     = "[email protected]"
        AccountPassword       = (ConvertTo-SecureString "NewPass--?" -AsPlainText -Force)
        Enabled               = $True
        Path                  = $OU
        ChangePasswordAtLogon = $True
        PassThru              = $True
        Description           = "$cod"
        Office	          = "$office"
        OtherAttributes 	  = @{ info="$codSO" }
    }
    $ADUser = New-ADUser @params

    You need give in this format:

    OtherAttributes = @{ info="$codOS" }