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

Failure in CLEANUP - Admin | Sync Template v3 (Orphaned Users) when cannot get tenant count #8728

Closed
1 task done
bartsneary opened this issue Jul 29, 2024 · 9 comments
Closed
1 task done
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@bartsneary
Copy link

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

When this flow runs, it always produces this error on the "Tenant Has Guests" compose action:
Action 'Tenant_Has_Guests' failed: Unable to process template language expressions in action 'Tenant_Has_Guests' inputs at line '0' and column '0': 'The template language expression 'if(equals(length(outputs('Get_Tenant')?['body/value']), 0), false, coalesce(first(outputs('Get_Tenant')?['body/value'])['admin_grouphasguestusers'], false))' cannot be evaluated because property 'admin_grouphasguestusers' doesn't exist, available properties are '@odata.type, @odata.id, @odata.etag, @odata.editLink, admin_powerplatformuserid@odata.type, admin_powerplatformuserid, admin_groupsize@OData.Community.Display.V1.FormattedValue, admin_groupsize'. Please see https://aka.ms/logicexpressions for usage details.'.

Expected Behavior

expect for it to work

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.33

What app or flow are you having the issue with?

CLEANUP HELPER - Power Apps User Shared With

What method are you using to get inventory and telemetry?

Data Export

Steps To Reproduce

Run the Flow

Anything else?

No response

@bartsneary bartsneary added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Jul 29, 2024
@Jenefer-Monroe Jenefer-Monroe self-assigned this Jul 29, 2024
@Jenefer-Monroe
Copy link
Collaborator

I believe your tenant user isnt set up correctly.
This is fixed by the following flow: CLEANUP - Admin | Sync Template v3 (Orphaned Users)
image

The flow should run with the Setup Wizard

@Jenefer-Monroe
Copy link
Collaborator

After looking at the failure it appears the issue here is in CLEANUP - Admin | Sync Template v3 (Orphaned Users) causing it to fail.
Will reuse this issue for that.

@Jenefer-Monroe Jenefer-Monroe changed the title [CoE Starter Kit - BUG] "CLEANUP HELPER - Power Apps User Shared With" Flow consistent failures Failure in CLEANUP - Admin | Sync Template v3 (Orphaned Users) when cannot get tenant count Jul 29, 2024
@Jenefer-Monroe
Copy link
Collaborator

The same tenants that cannot do this action (and hence why we catch)
image

Also cannot do these
image

@Jenefer-Monroe
Copy link
Collaborator

Will fix in a way such that users can manually enter the tenant count and it wont get over ridden for these users.

@Jenefer-Monroe
Copy link
Collaborator

image

@Jenefer-Monroe Jenefer-Monroe moved this to Testing 🤞 in CoE Starter Kit Jul 29, 2024
@Jenefer-Monroe Jenefer-Monroe moved this from Testing 🤞 to Code complete ☑ in CoE Starter Kit Jul 30, 2024
@Jenefer-Monroe
Copy link
Collaborator

An early release of the August bits are available for testing.
Please see our Preview Builds

Please test for us! But do not install these in your production environment but rather in a test envt to get us feedback.

Here are the August release candidate solutions.
Core 4.33.14
Gov 3.24.1
Nurture 3.18.1

And the PBIT files
Production CoE Dashboard August 2024
Governance Dashboard August 2024

It contains all the changes targeting August: https://github.com/orgs/microsoft/projects/195/views/59

Including these two very impactful changes:
#8016 - Update Kit to respond to new Power Platform Admin Role PIM feature
#8482 - Integrate new audit log methodology into the kit for API reduction. Please see issue for setup instructions.

@anttipajunen
Copy link

@Jenefer-Monroe what exactly/what conducted action should trigger the "CLEANUP - Admin | Sync Template v3 (Orphaned Users)" flow?

@Jenefer-Monroe
Copy link
Collaborator

@github-project-automation github-project-automation bot moved this from Code complete ☑ to Done ✅ in CoE Starter Kit Aug 16, 2024
@RickKush
Copy link

I am using the August release, 4.37.
I don't have this flow, CLEANUP - Admin | Sync Template v3 (Orphaned Users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Status: Done
Development

No branches or pull requests

4 participants