microsoft / coe-starter-kit

Other
742 stars 219 forks source link

[CoE Starter Kit - BUG] COE keeps asking us to republish apps #9017

Open Service-WebDevPowerP opened 23 hours ago

Service-WebDevPowerP commented 23 hours ago

Does this bug already exist in our backlog?

Describe the issue

We recevie emails saying "Keep your app updated to stay compliant. You own an app that's currently shared or used broadly but which has not been published recently"

I have republished each app every week for at least a month now and we still receive the email each week saying it needs to be republished. Is this expected behaviour? I thought this was only meant to trigger every 90 days?

we have some flows that have turned off since August update, could that be the cause?

image

I am not sure which solution contains this flow so I am not sure which version it is, but we currently have Septembers update installed

Expected Behavior

No response

What solution are you experiencing the issue with?

Audit Log

What solution version are you using?

September

What app or flow are you having the issue with?

Unknown

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

No response

Anything else?

No response

Jenefer-Monroe commented 18 hours ago

Your inventory generally will not run correctly without these 3 flows turned on. As you can see the driver flow is off so you have not gathered inventory since August 20th. image

Jenefer-Monroe commented 18 hours ago

Please do boot the setup wizard and walk through initial setup it will ensure the first two are turned on and running. Then manually turn on Admin | Audit Logs | Update Data (V2)

Use the setup wizard

Its highly recommended that you use the Setup Wizard to walk you through setup and upgrades. It will ensure all the new flows are turned on in the correct order, trigger things like population of the bookmarks screen and do other cleanup steps needed. You should do this both for upgrades and clean installs. To use it, first perform the import of the solution install or upgrade manually, then boot the app and walk through the screens. image image

Jenefer-Monroe commented 18 hours ago

For the publish warning, this is in the following flow: Admin | Compliance detail request v3 And is driven by the environment variable below. Its possible that the inventory not running is what happened, because if the app has never been published it will also go through the process.

image image

Service-WebDevPowerP commented 17 hours ago

Hi Jenefer

Thank you for your reply. I've always done the upgrades through the Set up and Upgrade wizard. Any idea why it didn't turn that flow on? Our Test environement has done the same thing. The flow Admin | Sync Template v4 (Driver) is currently not turning on, it gives an error of:

Admin data policy 'CoE' restricts the use of /providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps with /providers/Microsoft.PowerApps/apis/shared_powerplatformadminv2.

The Admin | Audit Logs | Update Data (V2) has turned on fine though

Jenefer-Monroe commented 16 hours ago

Yes it looks like you may not have updated the DLP policy with the new connector

Please add the DLP Policy - Power Platform Admin V2 connector to your DLP. Then once it has had time to sync up (which can take a while unfortunately) turn on the following flows in the order shown: