-
Notifications
You must be signed in to change notification settings - Fork 210
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 - BUG] Upgrade failure due to "Solution dependencies exist, cannot uninstall." ObjectName: Office 365 Management API #6018
Comments
Hi, In my case I will start to use Data Export, the after delete the _upgrade solution, I also delete the Audit Logs solution, but this issue keeps in a new import of the core 4.13 solution. |
@albertocastro365 can you please post a separate issue? This way we dont confuse the situations across people. |
I was able to get around my issue by following the instructions to delete the old Audit Log solutions (6009) and then choosing Apply Upgrade on my version 4.11 core solution. That completed the upgrade and deleted the 4.11 solution, so all that remains is 4.13. |
I think I've found what the error message is complaining about. There may be a Connection Reference in your previous Core Components solution that is pointing at your Office 365 Management API Custom Connector... go in there and delete it (I was able to at least thru the Default solution) and then delete the Custom Connector itself from your environment. Retry the import and let us know. |
Many thanks jaredwsimmons |
Still can't upgrade from Core Components 4.11 to 4.13 still saying it can't install because of the O365 Management API Connector. |
Thanks for pointing me back to #6270 . I had already performed these but someone commented about deleting the O365 Management API connector from the Default solution. Deleted from default and redid Apply Upgrade which worked. |
thanks for letting me know here, that will help others as well! |
Does this bug already exist in our backlog?
Describe the issue
We have removed the Office 365 Management API custom connector from Core and so you may see if this failure on upgrade
You will not be able to upgrade again until you complete these steps, described in detail below.
1. Delete _upgrade
First delete the failed upgrade solution
Note you may need to browse to solution install history and back before you see it.
Note also the deletion may timeout, you will need to watch in the history for it to complete
2. Delete Audit Logs
First delete the Center of Excellence - Audit Logs solution itself.
This should remove the majority of the dependencies straight away.
Spot check for dependencies
Some people have found that some objects do not get deleted when the old Audit logs solution gets deleted so just go double check that they did and delete these objects if you see them still there.
Go to the Default Solution > Connnection References.
Use Power Shell to check for straggler connections
Some people have found that there are still references to the connector remaining that they cannot see in the UX and hence have to use powershell to find and delete these remaining connections to the old connector.
It will look something like this:
Get-AdminPowerAppConnection -EnvironmentName [Guid]
Remove-AdminPowerAppConnection -ConnectionName [ConnectionName] -ConnectorName shared_twitter -EnvironmentName Default-[Guid]
3. Try your upgrade of Core again
Now you can now reinstall the new Core release. Please look for failures and _upgrades which would indicate you are still broken due to straggler connections.
4 a. Setup new Audit Logs collection technique
Now that you have upgraded to a modern version of Core components, if you want to re-establish Audit Log collection for App Launches, you need to do that as shown here
The steps outlined in Collect audit logs using an HTTP action describe how to do it. But one note for those of you migrating from old to new technique is how to change your app registration.
How to update app registration
Complete setup
Then from here, complete the rest of the steps outlined in Collect audit logs using an HTTP action
4 b. OH NO I CANT USE THE NEW TECHNIQUE HELP!
If you cannot use the new methodology, perhaps you cant get the application permissions on the app registration, you can still use the old technique although it will not be something we can assist with going forward.
Please follow the steps in this issue: #6017
It also contains some solutions you can use to get going.
The text was updated successfully, but these errors were encountered: