Forum Discussion
davisx
Oct 28, 2022Copper Contributor
Where can we find the "SUBDOMAIN"(SUBDOMAIN={YOUR_SUBDOMAIN}" ) when follow this guide?
Trying to follow this guide, but not sure what SUBDOMAIN domain really is. TENANT_ID={YOUR_TENANT_ID}
CLIENT_ID={YOUR_CLIENT_ID}
CLIENT_SECRET={YOUR_CLIENT_SECRET}
SUBDOMAIN={YOUR_SUBDOMAIN...
davisx
Copper Contributor
ok, we can use just put mySubdomain(as SUBDOMAIN=mySubdomain ), correct ?
GeorgiaKalyva
Oct 28, 2022Learn Expert
if your endpoint is mySubdomain.cognitiveservices.azure.com yes.
- davisxOct 28, 2022Copper ContributorPlease also check my
CLIENT_ID
CLIENT_SECRET
Correct , since it gives me error as:
"Error in getting the Immersive Reader token and subdomain. Check the console."
https://ibb.co/xq8v8HZ
https://ibb.co/ZBj7bT3- GeorgiaKalyvaOct 28, 2022Learn Expert
davisx Did you follow all the prerequisites (copying the steps for reference)?
Prerequisites- Azure subscription - Create one for free
- An Immersive Reader resource configured for Azure Active Directory authentication. Follow these instructions to get set up. You will need some of the values created here when configuring the environment properties. Save the output of your session into a text file for future reference.
- Node.js and Yarn
- An IDE such as Visual Studio Code
If you followed the instructions on step two (Create an Immersive Reader Resource - Azure Applied AI Services | Microsoft Learn) you should have saved the output, which includes that value as the guide clearly states. If you didn't that is ok, go to the Azure portal and your subscription, find the Immersive reader resource created in that step and copy the value from the top. Image below for reference: