tag:blogger.com,1999:blog-7258322562721325894.post2424688902018884432..comments2023-08-17T13:27:47.119+03:00Comments on How To Code: Cannot delete Azure Active Directory due to existing Enterprise ApplicationsJussi Palohttp://www.blogger.com/profile/00392327346825133905noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-7258322562721325894.post-83387923614829923432021-12-31T14:41:44.805+02:002021-12-31T14:41:44.805+02:00Perfect, thanks!Perfect, thanks!Usulhttps://www.blogger.com/profile/18371857116210877352noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-23449761527014451042020-08-18T10:01:40.053+03:002020-08-18T10:01:40.053+03:00thumbs up!thumbs up!Sajidhttps://www.blogger.com/profile/03127544370071665289noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-18879555622860787332020-03-03T15:13:01.357+02:002020-03-03T15:13:01.357+02:00Thanks a lot, worked for me!Thanks a lot, worked for me!Anonymoushttps://www.blogger.com/profile/02620523143899310174noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-86541022513304638642020-02-09T12:29:11.213+02:002020-02-09T12:29:11.213+02:00Hi....thanks for this idea..It really worked for m...Hi....thanks for this idea..It really worked for me. There were no enterprise applications shown in the portal but i had a hell lot of other pre-installed applications which were stubborn enough. I was able to remove all of them using this cmdlet of yours. Thanks once again!Ignatius Rodrigueshttps://www.blogger.com/profile/11316582706372118090noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-84855342282557555962019-07-15T20:08:26.296+03:002019-07-15T20:08:26.296+03:00Get-AzureADServicePrincipal | ForEach-Object { Rem...Get-AzureADServicePrincipal | ForEach-Object { Remove-AzureADServicePrincipal -ObjectId $_.ObjectId }Johnhttps://www.blogger.com/profile/03717417193831761612noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-21232811527652636912019-06-11T18:40:26.972+03:002019-06-11T18:40:26.972+03:00This worked for me:
Get-AzureADServicePrincipal |...This worked for me:<br /><br />Get-AzureADServicePrincipal | Select-Object -ExpandProperty ObjectId | ForEach-Object { Remove-AzureADServicePrincipal -ObjectId $_}Code Chiefhttps://www.blogger.com/profile/01368847973245642934noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-43351595317181222462019-05-31T09:51:10.783+03:002019-05-31T09:51:10.783+03:00I was able to resolve it with a combination of the...I was able to resolve it with a combination of the steps above and also enabling LinkedIn connections in the User Settings for the Directory. Without enabling the LinkedIn connections, I was unable to disable or delete the O365 LinkedIn app (not listed as an Enterprise app but was blocking deletion).Edwardhttps://www.blogger.com/profile/08476804334560382669noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-39502457230551289802019-05-30T10:10:55.779+03:002019-05-30T10:10:55.779+03:00I understand the frustration, but can only wonder ...I understand the frustration, but can only wonder why these steps didn't work for you. :(Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-54774667877976271582019-05-30T04:12:36.948+03:002019-05-30T04:12:36.948+03:00Pulling my hair out over this one. Did everything ...Pulling my hair out over this one. Did everything in the official guidelines. Did everything as described in this blog post. Just came off the phone with MS support remote desktoping in.... STILL UNABLE TO DELETE because of the 'delete all Enterprise Applications' error! Support guy has no idea why either... Ugh.Steffen M. Boelaarshttps://www.blogger.com/profile/17665006918959527096noreply@blogger.com