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 / Formviewer - Office365...
Power Apps
Answered

Formviewer - Office365Users isn't recognized

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

 

I am trying to build a detail screen to show information about people in Office365. I'm using Formviewer, but it does seem to go wrong with the very first step. With Data Source I've selected Office365Users, but i get this error: 

 

Name isn't valid. 'Office365Users' isn't recognized.

This error appears most commonly when a formula refers to something that no longer exists (for example, a control that you've deleted)

 

I really cannot find what I'm doing wrong here, can someone help?

 

Categories:
I have the same question (0)
  • neuronic Profile Picture
    177 on at

    Hi, assuming you have made necessary Data connection to Office365Users,  you could have a gallery to display users.  See post by Adrian_celis: How to pull list of all office 365 users list in PowerApps?

     

    ClearCollect(collAllUsers,

    Office365Users.SearchUserV2({isSearchTermRequired:false}).value)

     

    Items for gallery: colAllUsers

  • LuLuidt123 Profile Picture
    10 on at

    Hi! 

     

    Thanks, I already do have a gallery displaying users, made with Office365Users.SearchUserV2({searchTerm:txtInputEmployee.Text, isSearchTermRequired:false}).value. 

     

    Now I want to click on one specific user and have some more information displayed. On the gallery I see name, job and picture and when I click on one I would like to see a bit more on a second scree (very similar to the powerapp tutorial about flooring). For the second screen I would like to use the Formviewer, but I don't know what to do with the "DataSource". Just clicking on the right on Office365Users does nothing, and just copying the same formula does not seem to connect the data either. 

    vraag 1.png
  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    HI @LuLuidt123 ,

    In this situation where the data will not be automatically recognized, we need to customize the data card

    I made a template for your reference:

    vchengfenmsft_0-1675663964590.png

    Form:

    Set form's item:

    Set form's Datasource

    Click [Edit fields]

    vchengfenmsft_1-1675664043090.png

    Add a Custom Card

    vchengfenmsft_2-1675664135075.png

    Add a lab in datacard to show message:

    vchengfenmsft_3-1675664210280.png

    Here is a link about data card for your reference:

    Understand data cards in canvas apps - Power Apps | Microsoft Learn

     

    Best Regards

    Cheng Feng

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard