Skip to main content
Community site session details

Community site session details

Session Id : 3zaqmHDt6OWhHRH94n5yRE
Power Apps - Building Power Apps
Unanswered

Run Quick task wihtin powerapp no issue, after publish and run get userprofileV2 has invlaid value for user parameter 'id'

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2021 08:15:08 by

 

//On app start retrieve user emails and plans
Set(LoadEmails, true);
Concurrent(
Set(MyDomainName,Last(Split(Office365Users.MyProfile().Mail,"@")).Result),
Set(LastSynced, Now()),
Set(EmailFolderName, "Inbox"),
//Create new option for a plan. This is the first item in the MyPlanSelection
ClearCollect(MyPlansGalleryItems, {id: "NotAPlan2", title: "Create New Plan"}),
//Create new option for a bucket. This is the first item in the MyBucketSelection
ClearCollect(MyBucketsGalleryItems, {id: "NotABucket2", name: "Create New Bucket", planId: "NotAPlan2"}),

ClearCollect(DLAddresses,
ForAll(Filter(Split(Trim(SettingsDLsInUse.Text), ","), !IsBlank(Result)), {
Email: Result} ))
);

Concurrent(
ClearCollect(Emails, Office365.GetEmails({folderPath:EmailFolderName, fetchOnlyUnread: false, searchQuery: "(To:" & First(DLAddresses).Email & " OR CC:" & Dropdown1.SelectedText.Email & ")", top: 25})),
Collect(MyPlansGalleryItems, Planner.ListMyPlansV2().value)
);

Set(SelectedMail, First(Emails));
Set(LoadEmails, false)

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete