-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Non-Default Attributes/Properties #2
Comments
Hmmm... Actually, two things:
Either way, I'm left with the question of how to get/set the actual content of the thumbnailPhoto attribute, since a returned value of "image/Png" doesn't give me hope that I will be able to "set" JPG/PNG data back to the attribute in a fashion similar to:
|
Okay, I see now you actually have a function specifically for setting a thumbnailPhoto attribute!! Set-AADUserThumbnailPhoto Let me play with this and see how it goes. I'm still concerned, though, with how I would return all users in my organization in a Get-AADUser function call. |
Hello @cradixus, I see this issue is still open so I'll answer one of your questions which concerns returning more than 100 results. |
I see in AADGraphUser.psm1, this is the backbone of the Get-AADUser function:
However, the attribute I'm interested in (thumbnailPhoto) doesn't seem to be included by default.
With Get-ADUser, I would use the "-Properties" parameter to include the thumbnailPhoto attribute:
Is there a similar method we can use to achieve the same result with AADGraph? NOTE: Keep in mind that once I'm able to GET the thumbnailPhoto attribute, I'll next want to be able to SET it. ;-)
Thanks for your help!
Matt
The text was updated successfully, but these errors were encountered: