question

zelofi avatar image
zelofi asked

Is there any way to unban all players in a TitleId?

Hello, I'm currently looking for a way to unban all players from my TitleId, however I've yet to come to a proper solution that unbans every banned player.

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

You can create a Scheduled Task with the type “Run actions on each player in a segment” and select the “All players” segment to run an Azure function that unban all players in the title. For more info, please refer to Scheduled tasks quickstart - PlayFab | Microsoft Learn. In the Azure Function, you can call API RevokeAllBansForUser to revoke all active bans for users.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.