Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wapster182 opened this issue Jul 29, 2024 · 3 comments
Open

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

wapster182 opened this issue Jul 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wapster182
Copy link

wapster182 commented Jul 29, 2024

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

@wapster182 wapster182 added the bug Something isn't working label Jul 29, 2024
@alexc-MSFT
Copy link
Collaborator

@wapster182 in theory, functionality could be built to restrict those users displayed in the people picker within the Power App but it would be a fair amount of work and we'd want to make it generic to suit everyone.

There is no way to add them as members out of the box if they don't have a license as the Office365Users connector actions will fail sadly (as you've seen).

Please feel free to raise an issue for a new feature around filtering users out of the picker if you have ideas on how this could work.

Thanks

@alexc-MSFT alexc-MSFT self-assigned this Sep 17, 2024
@alexc-MSFT
Copy link
Collaborator

@wapster182 what are your thoughts on this one? It's not a bug with Provision Assist per say, it's more an issue with the connector we use (and potentially a valid one given the user does not have a license).

We could maybe add some configuration in based on group membership so you can filter users out? I'd need to somehow make this generic enough for everyone though.

@wapster182
Copy link
Author

Hi, I think the option to filter users out based on Entra ID groups would be great!
Maybe the option can be optionally and if enabled, you can add multiple groups which indicate which people will be shown in the picker. I think it should be this way, so a whitelist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants