How to enable AAD authentication mode in Azure Spatial Anchors - Unity (Android) ?

Osama Ayman Mokhtar Amin 19P1609 0 Reputation points
2024-05-23T18:10:13.51+00:00

I get an error saying extra steps are needed to enable AAD auth. mode but I can't find those steps.

Azure Spatial Anchors
Azure Spatial Anchors
An Azure service that is used to build immersive three-dimensional applications and experiences that map, persist, and restore content or points of interest at real-world scale.
88 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nathan Manis 5 Reputation points
    2024-06-11T02:03:40.5066667+00:00

    For this one, I think you are looking for this section to configure the relevant parameters for the AAD account information in Unity:

    https://learn.microsoft.com/en-us/azure/spatial-anchors/quickstarts/get-started-unity-android?tabs=azure-portal#configure-the-account-information

    The next step is to configure the app to use your account information. You copied the Account Key, Account ID, and Account Domain values to a text editor earlier, in the "Create a Spatial Anchors resource" section.

    On the Project pane, go to Assets\AzureSpatialAnchors.SDK\Resources.

    Select SpatialAnchorConfig. On the Inspector pane, enter the Account Key as the value for Spatial Anchors Account Key, the Account ID as the value for Spatial Anchors Account Id, and the Account Domain as the value for Spatial Anchors Account Domain.

    NOTE: Unless you have an existing ASA service account created, no new accounts are being created due to pending ASA retirement in November. See Azure Spatial Anchors Retirement

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.