none
command is not recognized in azure powershell RRS feed

  • Question

  • So iam following this tutorial on docs https://docs.microsoft.com/en-us/azure/cognitive-services/immersive-reader/how-to-create-immersive-reader and run the function create-immersiveReaderResource provides by Azure docs and get an Error.

      -SubscriptionName '<SUBSCRIPTION_NAME>' `
    >>   -ResourceName '<RESOURCE_NAME>' `
    >>   -ResourceSubdomain '<RESOURCE_SUBDOMAIN>' `
    >>   -ResourceSKU '<RESOURCE_SKU>' `
    >>   -ResourceLocation '<RESOURCE_LOCATION>' `
    >>   -ResourceGroupName '<RESOURCE_GROUP_NAME>' `
    >>   -ResourceGroupLocation '<RESOURCE_GROUP_LOCATION>' `
    >>   -AADAppDisplayName '<AAD_APP_DISPLAY_NAME>' `
    >>   -AADAppIdentifierUri '<AAD_APP_IDENTIFIER_URI>' `
    >>   -AADAppClientSecret '<AAD_APP_CLIENT_SECRET>'
    -SubscriptionName: The term '-SubscriptionName' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    PS /home/xxxx>   -AADAppClientSecretExpiration '<AAD_APP_CLIENT_SECRET_EXPIRATION>'
    -AADAppClientSecretExpiration: The term '-AADAppClientSecretExpiration' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    I dont know why iam always getting this error. For subscriptionName iam filling with string values for ex : azuretest and clientsecretexpiration using format that provided by microsoft docs ex:2020-12-31 . Any suggestion ?

    Monday, November 9, 2020 10:20 AM