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

Community site session details

Session Id : rHngOQFNoei9ajcjh5ldrP
Power Apps - Building Power Apps
Unanswered

This formula uses scope, which is not currently supported for evaluation. Assistance required!

Like (0) ShareShare
ReportReport
Posted on 25 Jan 2021 23:56:26 by

Hello,

 

I'm trying to add an image of users to a gallery but with no luck. I am getting the following:

 

"This formula uses scope, which is not presently supported for evaluation."

 

Basically I inserted an image into a gallery to show user profile pictures. Usually the formula below works but for some reason will not for here. This is for a "person" field.

 

 

If(
 !IsBlank(ThisItem.'Assigned to'.Email), 
 Office365Users.UserPhoto(ThisItem.'Assigned to'.Email)
)

 

 

Any suggestions or alternatives to make this work?

 

I did try using:

 

ThisItem.'Assigned to'.Picture

Which cleared the error but the profile picture will not appear in the desktop version of teams only the online version.

 

Thanks in advance.

 

I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on 26 Jan 2021 at 03:24:05
    Re: This formula uses scope, which is not currently supported for evaluation. Assistance required!

    Hi@ShadowTech,

    Could you please tell me that:

    1.  how you set the Items of the Gallery?(Important!)
    2.  what do you mean that "desktop version of teams" and "only the online version"?

    Do you want to display the picture corresponding to the users within your Person field?

    Generally, the error message is normal which will not affect your test result.

    I have a test and the situation is confirmed on my side.

    Set the Items of the Gallery:

    MySPList

    If you populate the Gallery with a SP list containing a Person field, you could directly set the Image property of the Image control:

    ThisItem.PersonField.Picture

    0002.png

    Note: Some photos that not displaying do not have set their user photo.

    However, you said that this formula could only capture the online version, what do you mean?  

    Please give more details if the above could not solve your problem.

    Regards,

    Qi

  • ShadowTech Profile Picture
    on 26 Jan 2021 at 17:33:12
    Re: This formula uses scope, which is not currently supported for evaluation. Assistance required!

    @v-qiaqi-msft  There apparently is a bug or something within the desktop version of Teams. "

     

    ThisItem.'Assignd to'.Picture

     

    works fine in the online version of TEAMS. It does not however show the profile picture in the desktop version of Teams. This has been an ongoing issue that apparently has not been resolved. Testing in the PowerApp tool shows the user profile pictures, not in the Teams desktop app.

     

    Not sure what you mean by how do you set the items of the gallery.

  • ShadowTech Profile Picture
    on 26 Jan 2021 at 17:46:11
    Re: This formula uses scope, which is not currently supported for evaluation. Assistance required!

    @v-qiaqi-msft  The PowerApps desktop app does not show the profile picture as well. Just the online versions.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard