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

[CoE Starter Kit - QUESTION] Missing canvas apps in Power Platform Admin View #3761

Closed
alisoncyeh opened this issue Sep 23, 2022 · 11 comments
Closed
Assignees
Labels
coe-starter-kit CoE Starter Kit issues question Further information is requested

Comments

@alisoncyeh
Copy link

What is your question?

Have a user with many canvas apps across multiple environments but only a handful are shown in the Power Platform Admin View. Any troubleshooting suggestions?

What solution are you experiencing the issue with?

Core

What solution version are you using?

September 2022

What app or flow are you having the issue with?

Power Platform Admin View

@alisoncyeh alisoncyeh added coe-starter-kit CoE Starter Kit issues question Further information is requested labels Sep 23, 2022
@Jenefer-Monroe
Copy link
Collaborator

First lets see if there is a generalized problem

  1. Make sure that the identity running the flows has all the correct permissions and that those permissions are assigned permanently. What identity should I install the CoE Starter Kit with?

  2. Look to make sure all flows in the inventory setup are turned on

  3. Look for failures in the inventory runs via the Sync Flow Errors mail or in the Admin - Command Center
    image

@Jenefer-Monroe
Copy link
Collaborator

If this does not work, then you will need to find a repro of this in your tenant to see what is going wrong.

  1. Find an environment in your tenant where you expect to see the object (ex this app missing, that chatbot missing, etc)

  2. Go to the Power Platform Admin view app and find that environment. Open the record, edit some field, and save
    Note you will want to change back so be aware of the change.
    image

  3. This will trigger all the object flows to run for that environment. Find the flow for your object of interest and open it to details page.
    Ex: if you are looking for missing canvas apps chose Admin | Sync Template v3 (Apps)
    image

  4. Click on the timestamp of run in progress (or the one that just finished) to see the run itself.
    image

  5. From here you can explore if there is a failure, or if a bad return set, etc. And let us know if you have questions

@alisoncyeh
Copy link
Author

alisoncyeh commented Sep 26, 2022

Thanks Jenefer! Will try this & report back

@alisoncyeh alisoncyeh moved this to Done ✅ in CoE Starter Kit Sep 26, 2022
@alisoncyeh alisoncyeh reopened this Sep 26, 2022
@alisoncyeh
Copy link
Author

Hi @Jenefer-Monroe!

The following admin sync flows are failing with these error messages:

Admin | Sync Template v3 (Connection Identities): The action 'Get_Connections_as_Admin' has an aggregated page results size of more than '210250653' bytes. This exceeded the maximum size '209715200' bytes allowed.

Admin | Sync Template v3 (Business Process Flows): Action 'Check_if_Orphan_-_New' failed

Admin |Sync Template v3 (Apps): The API 'powerappsforadmins' returned an invalid response for workflow operation 'Get_Apps_as_Admin' of type 'OpenApiConnection'. Error details: 'The API operation 'Get-AdminApps' requires the property 'body/value/202/properties/connectionReferences/0/iconUri' to be of type 'String' but is of type 'Null'.'

@Jenefer-Monroe
Copy link
Collaborator

Hello, you will need to create issues for each of these, we cannot reuse issues nor use a single issue for multiple items, as it becomes too difficult to track.

Here are some initial thoughts, and then if you still need to post issues, please do so: https://github.com/microsoft/coe-starter-kit/issues/new/choose

Admin | Sync Template v3 (Connection Identities):

This failure is in an out of the box connector’s action, which we're just using. Unfortunately, it has a size limitation that you have exceeded.

We cannot fix this, but you can manually clean up some of the old connections via Power Shell and then be under the size limit. We have documented this limitation here along with a starter solution to address via PowerShell: https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-archive-components#set-up-connection-cleanup-broken-connections

Admin | Sync Template v3 (Business Process Flows)

You will need to post this issue, please be sure to state what version of Core you are on and share a screenshot of the failure.

Admin |Sync Template v3 (Apps)

You will need to post this issue, please be sure to state what version of Core you are on and share a screenshot of the failure.

@manuelap-msft manuelap-msft moved this from Done ✅ to Code complete ☑ in CoE Starter Kit Nov 7, 2022
@alisoncyeh
Copy link
Author

alisoncyeh commented Nov 9, 2022

Thanks for your patience on this thread. My customer ran the clean up cmdlets you referenced but it broke apps & flows in production. I see the documentation was updated two days ago & the cmdlets have been removed. Any ideas on why the documentation was changed?

For background, they first ran Get-AdminPowerAppConnection to retrieve all the connections with "error" in the status, then ran Remove-AdminPowerAppConnection

@Jenefer-Monroe
Copy link
Collaborator

There was a product change and flow connections became deletable when they were not before. Please have a product support ticket posted, there are engineers actively working to repair the situation for customers.

@alisoncyeh
Copy link
Author

Understood, my customer has already opened tickets on this issue so I'll continue to follow along on their progress. In the future, is it not recommended to run the PowerShell cmdlets for cleanup? The cmdlets were removed in the documentation but there isn't new guidance to replace them

@Jenefer-Monroe
Copy link
Collaborator

Unfortunately we do not have a new solution at this time. The upcoming BYODL solution (https://docs.microsoft.com/power-platform/admin/self-service-analytics) will read the connection identities directly and not suffer from the connector limitation.

@alisoncyeh
Copy link
Author

Thanks for the update -- appreciate your quick responses!

@Jenefer-Monroe
Copy link
Collaborator

closing out as no further action for starter kit team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coe-starter-kit CoE Starter Kit issues question Further information is requested
Projects
Archived in project
Development

No branches or pull requests

2 participants