Deleted users are not really "deleted" !

Hello all !
I'm writing an java application to create/read/update/delete users using the GRAPH API. All is going well except one particular use case : If I delete a user, and then later try to create again the same user, I get the following error : "A conflicting
object with one or more of the specified property values is present in the directory"
The detailled use case for one user is :
- Create user with (userPrincipalName, displayName, accountEnabled, mailNickname, password, forceChangePasswordNextLogin properties) : OK
- Query this user to read  his properties: OK
- Delete this user : OK
- Query this user to read his properties : the user does not exist : OK
- Create the user with same properties than first step : Not OK ("A conflicting object with one or more of the specified property values is present in the directory")
It should be noted that this error is returned more and more as I repeat these steps.
What is the problem and what can I do ?
Thanks in advance.

I am able to successfully add and remove the same user using the Azure Portal and via code.
Are you sure the user is actually being deleted?
Have you verified if you are able to see the deleted user in the Azure Portal after you delete it?
I used the code within the Graph API Console Application ( AzureADSamples/ConsoleApp-GraphAPI-DotNet
- https://github.com/AzureADSamples/ConsoleApp-GraphAPI-DotNet- "create a new user" region and "Delete User" region).  I was able to create the same user and
delete the user multiple times without any errors. 
Here is another thing you could verify.  Is you application a member of the "User Account Administrator" role?  You can utilize the MSOL cmdlets ( Manage Azure AD using Windows PowerShell -https://msdn.microsoft.com/en-us/library/azure/jj151815.aspx )
to add your application to this role (add-msolrolemember -RoleName "User Account Administrator" -RoleMemberType ServicePrincipal -Rolememberobjectid <object GUID for application> )
If your application is under  the correct "User Account Administrator" role, it should not have any problems doing this task.  I would verify.
 If you are still having a problem.  You might need to open a support case via the Azure Portal.  I hope this resolves your issue.
~ Michael

Similar Messages

  • Read and deleted messages are not being updated on my iphone 4s

    I have a new user who is having a synchronization issue with his iPhone.  When he reads emails on his desktop, the messages on his iPhone 4s show as being unread.  Also, when he delets messages on his desktop email, messages are not being deleted on his iPhone.  I have never seen this issue before and do not know what to do.  Please help.  Thank you!

    The end user just started with the company a week ago and he is using Outlook 2010.  We never had this issue in the past.  Active sync has been enabled on user’s account and he was able to configure the firm's Exchange email profile on his iPhone.  Although he is able to receive messages on his mobile device, it does not sync with his desktop email.  I asked him to delete the profile on the device and create it again, but he wants to do that as a last option.

  • Windows Server 2012 R2 RDS: RDS Users are unable to delete files from their desktop

    Hello,
    We are working with Windows Server 2012 R2 RDS. We also implemented User Profile Disks. This is all working fine without problems. The only issue I have is that normal users are unable to delete files from their desktop. They are getting a message:
    you'll need administrator permission to delete this file, with the prompt for administrator access.
    They can edit, copy, rename, cut and paste files. But they cannot delete a file from their desktop.
    I checked the security permissions of the files on the desktop (for example a normal self-created PDF file) and the users are owner and have "Full Control" over the files.
    I checked the file permissions and took a look under "Advanced", selecting the specific domain user and checked the "Advanced Permissions" and the user has the "Delete" option checked. So he should be able to delete the
    file.
    I am guessing this is UPD related issue, or something in GPO. But I already unlinked the GPO objects, that I felt could be the source of this problem, but without results.
    Could someone give me a hint on where to look? It's kinda annoying to users, that they can't delete their own files.

    Hello Bria,
    What you should check first, is the NTFS permissions on the User Profile Disk to begin with. See if the user has full control over the items that are in the UPD.
    Also check the GPO's that are enabled for the user and computer account. You can check that by running: gpresult /h <path>\gpresult.html
    There are two GPO settings that could prevent the user from deleting his/her own items: 
    User
    Configuration\\Policies\\Administrative Templates\\Windows Components\\Windows Explorer\
    Hide these specified drives in My Computer
    Prevent access to specified drives in My
    Computer
    There might be other GPO settings, that block deleting items on the UPD, but can't think of any out of my head.
    I can only think NTFS and GPO settings that might prevent the user from deleting items. In my case it was a GPO setting, that I didn't suspect.

  • 2LIS_02_ITM - Deleted items are not in the ODS 0PUR_O01

    Hello,
    We activated 2LIS_02_ITM extractor. We noticed that the deleted order items are not available in the ODS 0PUR_O01. SAP Note 578471 (Deleted positions in BW and statistics) explains that deleted items are not "statistical" relevant. However, this is an issue for us. Does anybody know if it's possible to change the behaviour of the extractor to keep deleted order items in the ODS ?
    Many thanks.
    François.

    Yes this is a known behavior in case of deltas.
    For Deleted line items Rocancel field will have an entry with R.
    To handle this you need to map ROCANCEL field in Technical group of transformation (Between Datasource to DSO) with 0Recordmode.
    Once you will do that then after activating the data in DSO it will nullify the records and deleted order or item will not appear.
    Regards,
    AL

  • I have recently updated my macs software then been onto Photo Booth and realised that all of my pictures/videos have been deleted and are not in iPhoto? Im not sure where they have all gone?

    PLEASE HELP
    I have recently updated my macs software then been onto Photo Booth and realised that all of my pictures/videos have been deleted and are not in iPhoto? Im not sure where they have all gone?

    Photobooth and iPhoto are two quite different apps with no connection between them. I'd try the Using Mac OS X forum for whatever version of the OS you have.

  • Material with flag for deletion are not getting deleted

    Hi All,
    Classic Scenario
    ERP - Materials were marked for deletion on the client level
    SRM - COMMPR01 - Materials are marked for deletion
    Question - When we ran BBP_CCM_Transfer_Catalog and Publish the Master Catalog the materials are not getting deleted in TREX.
    Please advice.
    Thank you very much,
    Carpenter

    I have to delete the Product in SRM and this will delete the Index in TREX Search.
    Thanks

  • My deleted emails on iPhone 4s are not being deleted from server

    I'm facing a problem with my iPhone 4s when deleting emails. Unfortunately, they are not being deleted from the server. I tried setting the account in pop and imap with settings to delete from server and trash ticked. Still they keep on appearing in Outlook which is a double work to do. Please advise.

    I'm no expert by far, but have had issues with this before.
    IMAP should allow your iPhone to remove messages from the server.
    But have you made sure both the iPhone and Outlook are connecting via IMAP?
    If your iPhone does remove the messages from the server, but your computer is using POP, then the computer may download the email before it is removed form the server by your iPhone.
    This was my issue, that my computer had already downloaded the message, and POP does not check later if it is deleted.
    If you delete a message from Outlook does it disappear on the iPhone?
    Alternativly you may need to check the email server settings.
    Who is your email provider?
    They may be able to check if IMAP allows you to remove emails.

  • I can not delete or compose an email on iphone 5.  The icon and delete button are not on the screen.

    I can not delete or compose an email on iphone 5.  The icon and delete button are not on the screen.

    I had the same problem.  I completely powered down the iphone and then powered it back up.  I then had the bar at the bottom of the email app that I think you are looking for.
    iPhone5, OS6

  • I use imap and emails deleted on my computer are not being deleted on my iPhone?

    i use imap and emails deleted on my computer are not being deleted on my iphone?

    Didn't work.  I also tried it by deleting the account and that hasn't worked.  I still have all of the deleted messages on my iphone.

  • I deleted text messages over the last six months, and I want to get them back. I didn't have my I-Phone 4S backed up. Can I still retrieve those texts??  I read somewhere that texts are never really deleted for good.

        I have a I-Phone 4S and I deleted text messages over the last 6 months. I didn't have my phone backed up with I-Tunes or anything. Is there a way to retrieve all of those deleted text messages??  I read somewhere a while back, that texts are never really deleted permanently. Can't find information on that. Can anyone help please?

    dskillen1987 wrote:
        I have a I-Phone 4S and I deleted text messages over the last 6 months. I didn't have my phone backed up with I-Tunes or anything. Is there a way to retrieve all of those deleted text messages??  I read somewhere a while back, that texts are never really deleted permanently. Can't find information on that. Can anyone help please?
    Where would you expect to retrieve those deleted message if you didn't backup your phone?

  • After update to 11.3.1 users are not logged in to the ZAA

    Hi,
    we did a update from 11.2.3 to 11.3.1 a few weeks ago. All works fine but there is one problem. A lot of users are not logged in to the ZAA. If i try to start a remote session with the username i get the message the user is not logged in to any device.
    If i connect me to the device and look at the ZAA the user is not logged in and i can not log in because i get the error message that the username or password is wrong.
    The solution is to go to the registry -> HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZCM\ZenLgn\Hist ory\Cache\domain.local and i have to delete the user.
    After that the login works fine
    Sometimes i have to delete the user in this registry key too -> HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZCM\ZenLgn\Hist ory\CachedUserZenNames
    Is that a known bug? What can i do to solve that problem?

    I would recommend an SR.
    You should not have to do that.
    There were some similar bugs in the past, but were fixed in 11.2.x and
    should not exist in 11.3.x at all.
    On 10/15/2014 7:26 AM, SteffenMuch wrote:
    >
    > Hi,
    >
    > we did a update from 11.2.3 to 11.3.1 a few weeks ago. All works fine
    > but there is one problem. A lot of users are not logged in to the ZAA.
    > If i try to start a remote session with the username i get the message
    > the user is not logged in to any device.
    > If i connect me to the device and look at the ZAA the user is not logged
    > in and i can not log in because i get the error message that the
    > username or password is wrong.
    >
    > The solution is to go to the registry ->
    > HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZCM\ZenLgn\Hist ory\Cache\domain.local
    > and i have to delete the user.
    > After that the login works fine
    > Sometimes i have to delete the user in this registry key too ->
    > HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZCM\ZenLgn\Hist ory\CachedUserZenNames
    >
    > Is that a known bug? What can i do to solve that problem?
    >
    >
    Going to Brainshare 2014?
    http://www.brainshare.com
    Use Registration Code "nvlcwilson" for $300 off!
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Technical Support Engineer
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Error: Admin users are not allowed to have override security

    In shared services, I provisioned the users FDM "Provision Manager" access. When I log on to FDM application, I see all those users have administrator privileges. When I tried to change the security level, it is throwing an error
    Error: Admin users are not allowed to have override security
    How can I create users who are not as admin in FDM? The user guide dont seem to help me much in this regards.

    All you need to do is make sure there role is set to an Intermedate role 1-9 and not Administrator. I would suggest you do the following.
    1) Log into FDM as the main admin user.
    2) Go to user maintenance and delete all users who are not meant to have adminstarator access but can still access everything like admins.
    3) Go into Shared Services and check that these users are provisioned for FDM with one of the Intermediate roles only.
    4) Once confirmed re-add these users back in the FDM user maintenance screen by selecting them from the new user dropdown and give them the appropraite location access.
    5) Log off FDM as the admin user.
    6) Log in as the intermedaite user and tes tthe access

  • How do I delete selected cells (not just delete its contents)?

    How do I delete selected cells (not just delete its contents) in Numbers?  In excel, this action would be followed by the option "shift cells up/left".

    Excel may call that "deleting cells", but it's really just replacing the contents of the cell(s) with contentes of cells below or to the right of the ones "deleted." Numbers accomplishes the same task by moving the (contents of the) cells into place, replacing the cells to be "deleted."
    In Numbers there are two ways to do this:
    Select the cells whose content is to be moved in.
    Drag the selected cells onto the top left one to be "deleted". Drop.
    If the target cell is not in sight:
    Select the cells to be moved.
    Go Edit > Mark for Move (or press option-command-X)
    Click on the top left target cell.
    Go Edit > Move (or press option-command-V)
    Regards,
    Barry

  • Users are not able to query request submitted by other user .

    users are not able to query request submitted by some other user using the same responsibility .
    applications ver . 12.1.2

    I have just upgraded 11.5.10 to 12.1.3. I have followed doc ID 804296.1 so users can see out files within the same responsibility. But users still cannot see out files from other users. I really believe I have followed the doc completely. Any advice?
    SQL> select bug_number from ad_bugs where bug_number like '8671003';
    BUG_NUMBER
    8671003
    Also these are the steps I took per the doc:
    sysadmin >Functional Developer >Security > Objects
    Search on Database Object = FND_CONCURRENT_REQUESTS
    Click on Concurrent Requests.
    Click on Object Instance Sets tab.
    Click on Create Instance Set button.
    Name=Allow user to view other requests within same responsibility
    Code=XXFND_CONC_REQUESTS_01
    Description=Allow user to view other requests within same responsibility
    Predicate=
    &TABLE_ALIAS.request_id in (select cr.request_id from fnd_concurrent_requests cr where
    cr.responsibility_id = fnd_global.resp_id and cr.responsibility_application_id =
    fnd_global.resp_appl_id)
    Sysadmin >User Management >Roles and Role Inheritance
    Click Create Role button
    Catagory=Miscellaneous
    Role Code=UMX|XX_VIEW_OUTPUT
    Display Name=View Output For Same Responsibility
    Description=View Output For Same Responsibility
    Click Create Grant and "Save and Continue'
    Name=XX_VIEW_OUT
    Description=View output of other users in same resposibility
    Object=Concurrent Requests
    Click Next
    Data Content Type “Instance Set”
    Instance Set=Allow user to view other requests within same responsibility
    Click Next
    At the bottom
    Set=Request Operations
    Click Next> Finish
    Edited by: 893303 on Oct 26, 2011 6:53 AM

  • T/F: iPhone users are not required to pay $15/month extra for Good Technology

    I have a personal Droid RAZR M.  You may wonder why I am posting in the iPhone forum but you are about to find out.
    I have access to corporate e-mail via Good Technology.  When I got this service set up at the same time I acquired the phone, I was required to upgrade from a $30/month 2GB plan to a $45/month 2GB plan just to have this access ("needed for access to company servers").  That was a surprise but I got over it.  However, since then, I have come to learn the following:
    1.  It appears that other than VZW, no other carriers are charging users extra for access to Good Technology.
    2.  Based on a colleague's information from a Good Technology support engineer and a office mate who is using a VZW iPhone, VZW iPhone users are *not* *required* to move to an Enterprise plan aren't paying an extra $15/month.  If one searches the Internet, I am not the only one asking about this.
    If you are using a Verizon Wireless iPhone and have Good Technology on your phone, would you let me know if were *required* to upgrade your data plan and pay extra just for using Good Technology?
    Thanks,
    Techvet

    I need to check some information at work about this, since they have some guidance on how their employees can connect to their corporate email with android and iphone devices.

Maybe you are looking for

  • Printing PPT and PPS files - file name is "flash"

    Printing a PowerPoint slide of the dashboard using the "print" button - file name is "flash" instead of original file name. I would like the real file name to show up. Thanks.

  • OIM and ldap sync

    I am using OIM 11gR2 and OID 11.1.1.6. Users and groups will be in OID, and OIM is required to do the provisioning of users. Plan is to use ldap sync between oid and oim. With ldap sync, all users will be available in OIM. And then in OIM can one do

  • Im having trouble backing up my iphone 4 to icloud

    Im having trouble backing up my iphone 4 to icloud, anyone have any suggestions how i can fix this? I have tried resetting all the settings on my iphone but nothing works

  • How to fixed this problem

    Please can I get Apple Support help because I'm facing problem when I'm purchased from Apple Store that showing me to visit this web page Apple Support, how can fixed this problem because I want to purchase from Apple Store I can't purchased right no

  • About the  benefit execution..............

    i need some more inforamtion how to execute the form with the tcode of hrben0001. in this which one we need to select the for the output.... like we have standard dental form or standard medical plan, or employee assistance program or ltd or ep01....