Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by ASIM SENYUVA · Jun 21 at 05:18 PM ·

Deleted Players makes problem

Hello,

I delete my Players account from Playfab,I use Delete Master Player ( some of them) and I use Delete Title Player some of them. After that I wrote script for login playfab via e-mail. The script say this e-mail is already used. In this problem I need to delete all players from my playfab game.

I saw 0 Player in Development side ( 0/100K) but in the Players section I saw 3 total players but I can not reach via search. How can I delete them ??

Comment

People who like this

0 Show 4
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ASIM SENYUVA · Jun 21 at 05:38 PM 0
Share

I uses Scheduled Task, It says ok but nothing changed.

avatar image ASIM SENYUVA · Jun 21 at 05:40 PM 0
Share

You can see details below

1.jpg (44.9 kB)
2.jpg (77.1 kB)
avatar image ASIM SENYUVA · Jun 21 at 05:42 PM 0
Share

Players section and segments show 3 player but I can not reach them. These are my test players which uses my email. i need to delete them and create new one with LoginWithEmail method.

3.jpg (47.0 kB)
avatar image ASIM SENYUVA · Jun 21 at 05:46 PM 0
Share

this is my problem when i try to register via email again.

4.png (42.1 kB)

4 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Made Wang · Jun 24 at 09:32 AM

Regarding the delay, please refer to the instructions in this thread: LoginWithFacebook issue: "The account is unavailable, because it is being deleted" - Playfab Community

Please confirm the type of account you delete first. If the title player account is deleted, then only the data of this account under this title is deleted, and the login method of this account is not deleted. You can still use the old login method (such as using email and password) to log in and automatically create a new title player account. If you delete the master player account, it will return "User not found" when you try to log into the original account.

To sum up, since "Email address already exists." is returned, please use this email to do some login tests.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Made Wang · Jun 22 at 07:29 AM

To delete a player through Scheduled Tasks, the Title player account is deleted, which will only delete the player data under this Title, refer to Account Management - Delete Player - REST API (PlayFab Admin) | Microsoft Docs. This will not delete the player's Master player account, so it returns that the email address already exists and the player can still log in with the original email and password.

If you want to delete the player's Master player account, you need to call DeleteMasterPlayerAccount, you can use Postman or call it on Azure Function. You can also click Delete master player in Game Manager->Players->[Player], and you can click About Master Player to understand the difference between the two accounts. It should be noted that there is a delay in deleting the account, and registering with the same email address before the account is completely deleted will also return that the email address already exists.

In addition, there is some delay in the data of Players page and Segment page, you can get the data through GetPlayersInSegment.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by ASIM SENYUVA · Jun 22 at 12:30 PM

Last night I found PlayfabId from Data Explorer which was wrongly deleted. After that, I activated Admin API from the client-side and call DeleteMasterPlayerAccount for each PlayfabID.

When I call DeleteMasterPlayerAccount it says "User not found" for given PlayfabIDs.

Its look like there is a bug in the system.

Game Manager > [Players] > [Player] > [Delete Master Player] delete the player but I click

Game Manager > [Players] > [Player] > [Delete Title Player] , I can not reach the player and its not delete all data. I called DeleteMasterPlayerAccount one by one but nothing changed

After That I called GetPlayersInSegment and try to compare PIDs

    public void GetPlayersInSegment()
    {
        var request = new PlayFab.AdminModels.GetPlayersInSegmentRequest
        {
           SegmentId  = "MYSEGMETID",
 
        };
        PlayFabAdminAPI.GetPlayersInSegment(request, res => { 
            Debug.Log("success : ");


            for (int i = 0; i <= res.PlayerProfiles.Count -1 ; i++)
            {
                Debug.Log("PID : " + res.PlayerProfiles[i].PlayerId + "\n");


            }


            }, OnError);
    }

I found 3 PID from here. 1 is active one 2 of the wrongly deleted. After That I called DeleteMasterPlayerAccount one by one but system says "User not found". It looks bug!


5.png (23.0 kB)
Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Made Wang · Jun 23 at 07:17 AM

Does wrongly deleted mean that only the title player account was deleted? AccountNotFound usually means that the PlayFabID input is wrong or the account has been deleted. You can try to log in with the original email address and password to determine whether the account is deleted.

In Data Explorer (basic), you can check whether there is an event corresponding to the deleted account. The corresponding event of delete title player account is player_removed_title, and the corresponding event of delete master player account is title_deleted_master_player.

Regarding the data in the segment, even if only the Title player account is deleted, this account will also be deleted from the segment, which means GetPlayersInSegment should not get the player that has been deleted. It should be noted that there is a delay in deleting accounts, and the length of the delay time can be referred to the instructions in this thread.

In addition, in order to avoid some misoperation, you can use Postman to test, refer to Quickstart PlayFab REST API collection for Postman - PlayFab | Microsoft Docs.

If the account still cannot be deleted after the above attempts, please provide your Title ID and the PlayFabID of the account that cannot be deleted.

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ASIM SENYUVA · Jun 23 at 08:30 AM 0
Share

After 72 hours,

Playfab deleted my players in segments in 2 days. On the Game Manager, I saw 1 player active. it's normal for me. Delete process takes 2 days. But in the code is still the same error.

Game Manager Shows 1 active player at this moment. but I can not register new users with my used email :) I can directly say something wrong or too slow here. Front-end users can not manage easily.

We have 1 player registered.

We can not register another player with deleted account e-mail. It means something not deleted.

6.png (32.4 kB)
7.jpg (62.9 kB)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    13 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges