This app can help you get tokens and client id to test REST APIs. If the Map Control doesn't render you should check the console errors. When this happens it means access control hasn't been set for the principal trying to access the specified account.
Grant access by role assignments based on the Azure Maps accounts. Read more here.
You can use the Live Site troubleshooting Onenote to investigate why access is denied.
Server token is used to provide a way to provide tokens to the map control without a need to force a user login. This requires an endpoint to provide a Bearer token issued from AAD. This callback will be invoked from the Map Control. However, this is the least secure form of securing the web sdk map control. We recommend some way of protection on the endpoint which is issuing tokens. Some options include IP control, throttling, dynamic html, OAuth2.0, identity providers, server to server proxy, or other options.
This is the recommended way if using Azure AD in a production environment.