web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ContactGetItems How to...
Power Apps
Unanswered

ContactGetItems How to get Photo of the contact

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I'm a beginner on PowerApps.

I mounted a screen with a collection using the Office365 contacts, but I do not know how to display the contacts photo.

To create the collection I used ContactGetItems, but it does not have any columns with the BLOB of the photo.

I tried GetDataSetsMetadata, but I do not know how to use this method.

I also tried using this MSDN (https://msdn.microsoft.com/en-us/office/office365/api/contacts-rest-operations), but I do not know how to proceed

 

Can someone help me?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Smiley Frustrated

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I just tried the following method to collect the Office365 ContactGetItems function:

    Collect(data,Office365.ContactGetItems("Contacts"))

    which created a table with single record and single column named value (table values).

    And there is no photo attribute within it.

    Further, I don't think office365.GetDataSetsMetadata would work for getting the photo from the contacts, I think this function should be related with Power BI.

    As shared in the document you mentioned, to get Contact photo, we need take use of the Get contact photo metadata API, which is not available under the current Office 365 Outlook connection.

    Instead, please consider take use of the User() function to get the photo for the current logined user.

    Set the image property of the image control with the formula below:

    User().Image

     

    Function reference: User function in PowerApps

    By the way, as the Office365.ContactGetItems and office365.GetDataSetsMetadata are both not listed as available function in the official document, it is not recommended to use it, which I think those functions should be still under developing (or reviewing).

    Office 365 Outlook

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    "which created a table with single record and single column named value (table values).

    And there is no photo attribute within it."

     

    Yeap! I got in the same situation, I was very sad not to have a field for the contact picture (though by the APP People you can add Picture, and the picture appears Office365 added), that is, it has the feature to save the photo somewhere

     

    "Further, I don't think office365.GetDataSetsMetadata would work for getting the photo from the contacts, I think this function should be related with Power BI."

     

    You're right, I figured this method would help me because it has a BLOB when you put a dot (GetDataSetsMetadata (). BLOB).

     

    "As shared in the document you mentioned, to get Contact photo, we need take use of the Get contact photo metadata API, which is not available under the current Office 365 Outlook connection.

    Instead, please consider take use of the User() function to get the photo for the current logined user.

    Set the image property of the image control with the formula below:

    User().Image"

     

    Thank you very much for the information, but the User (). Image can't help me because he shows the photo of the user logged into the application, and I need photos of the contact list of the user who is logged on.

     

    "By the way, as the Office365.ContactGetItems and office365.GetDataSetsMetadata are both not listed as available function in the official document, it is not recommended to use it, which I think those functions should be still under developing (or reviewing)."

     

    Uooow! Then I have to use another idea. I wanted to use the contact list as registered customer base, but through this information I think I will have to go to a SharePoint list (but probably also have problems with users ' photos).

     

    It would be wonderful if they update the connector Office365 for that version of the link I sent which shows the possibility of retrieving the contact's picture.

  • Moises Profile Picture
    41 on at

    This is an great idea.

     

    Instead of the to use an SharePoint List and your failures and difficulty for upload images, come to use the PEOPLE of Office365 (contact List) for register users.

     

    But cannot display images of the contact is very sad.

  • Moises Profile Picture
    41 on at

    @v-micsh-msft

     

    I would like to know how it's possible to upgrade the connector to use the API described in https://msdn.microsoft.com/en-us/office/office365/api/contacts-rest-operations?

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard