pnp / provision-assist-m365

Provision Assist is a request and provisioning solution for Teams, Groups, SPO Sites and Viva Engage Communities in Microsoft 365.
MIT License
58 stars 8 forks source link

Flow errors when the selected member has no assigned license #84

Open wapster182 opened 1 month ago

wapster182 commented 1 month ago

Description

Hey, I was getting sometimes errors with flow runs and hunted the problem down to the following: When a member is selected from the picker who has no license, the flow errors and is not able to get the user profile:

Is it still possible to invite these users to a team/group? Or could we have an option to filter out some users at front-end power app level in the user picker? I would also like to filter out system, service and admin users (e.g. based on group memberships or empty cost center fields from Entra ID)

Steps to reproduce

  1. Start the app
  2. Select an user without license as member
  3. Send the request
  4. Flow will fail, check the runs history

Expected results

Users without license should be added as members

Actual Results

Flow fails with error:

image image

Solution component

Power Automate Flows

Operating system (environment)

Windows

Additional Info

No response