The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?
I found solution for it:
$params = @{
SamAccountName = $cod
Name = "$name $sname"
DisplayName = "$name $sname"
GivenName = $name
Surname = $sname
UserPrincipalName = "$mat@nacional.int"
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" }
Hi,
The "notes" field (called info for whatever reason) is in the mailrecipient field.
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.