从Azure AD硬删除应用程序 [英] Hard delete an application from Azure AD

查看:140
本文介绍了从Azure AD硬删除应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从Azure AD删除应用程序时,该应用程序将从门户网站中删除,但仍将存在于回收站中,以后可以根据需要进行验证.

When I delete an application from Azure AD, it will be deleted from portal,but still it will be present in the recycle bin and can be revered later if needed. How to delete it permanently or hard delete it from recycle bin?

推荐答案

HTTP 204 .

I am assume you were using the Azure AD Graph REST to delete the applications. When you using the rest please ensure that deleting operation was executed successfully. For example, the response of deleting application should be return HTTP 204.

另外,要删除应用程序,我们应该使用应用程序的对象ID代替下图所示的应用程序ID: 

In-addition, to delete the application we should use the object id of application instead of application id like figure below: 

然后我们可以使用Azure AD Graph REST删除应用程序,如下所示:

And then we can delete the application using the Azure AD Graph REST like below:

DELETE: https://graph.windows.net/myorganization/applications/{objectId}?api-version=1.6

------------------------------------------- -------------------------------------------------- ----------

-------------------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here


这篇关于从Azure AD硬删除应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆