Register and locally debug a PlayFab CloudScript Azure Function before wiring it into ExecuteFunction calls from clients

domain: learn.microsoft.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Develop the Azure Function locally with the PlayFab Azure Functions extension, using Azure Functions Core Tools to run and debug it against a local host.
  2. Get an Entity Session Token via the Entity GetEntityToken API, required to authenticate CloudScript-related admin calls like registration.
  3. Call CloudScript/RegisterHTTPFunction with the function's name and its Azure Function App URL to register it with your PlayFab title.
  4. Use CloudScript/ListHttpFunctions (or the Game Manager UI) to confirm the function is registered and pointing at the correct endpoint before going live.
  5. From game clients or other CloudScript logic, invoke the registered function via CloudScript/ExecuteFunction, passing the function name and any parameters; PlayFab injects an entity/title context object into the function's request.

Known gotchas

Related routes

Execute server-side game logic and award items using PlayFab CloudScript (Azure Functions mode)
learn.microsoft.com/gaming/playfab · 6 steps · unrated
Integrate PlayFab CloudScript (Azure Functions) to run server-authoritative game logic
playfab.com · 6 steps · unrated
Implement server-authoritative live ops logic using PlayFab CloudScript backed by Azure Functions
playfab.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans