Giter VIP home page Giter VIP logo

Comments (6)

1iveowl avatar 1iveowl commented on May 30, 2024

Thank you @ScottStefanich. Will try and see if we can repo this.

I did test the install a week ago w/o running in to this issue. Only change since then is Azure CLI 2.55 -> 2.56.

from azure-saas.

1iveowl avatar 1iveowl commented on May 30, 2024

Did you try and install the Amin Service API before installing the Permissions API? I looks like the error has to do with the script not being able to download the output deployment parameters from an earlier deployment.

from azure-saas.

ScottStefanich avatar ScottStefanich commented on May 30, 2024

Running the SaaS.Admin deployment script results in the same two errors (MSAL token cache and Identity Bicep deployment output parameters).

from azure-saas.

ScottStefanich avatar ScottStefanich commented on May 30, 2024

The deployment named 'IdentityFoundationDeployment' successfully completed.

The deployment Output has the following parameters,

version
location
environment
appConfigurationName
keyVaultName
keyVaultUri
appServicePlanName
userAssignedIdentityName
userAssignedIdentityId
sqlServerFQDN
sqlDbServerName
applicationInsightsName
logAnalyticsWorkspaceName
automationAccountName

@1iveowl, can you confirm the SaaS Administration Service API deployment script attempts to retrieve these parameters?

from azure-saas.

appwebcaddy avatar appwebcaddy commented on May 30, 2024

I want to report this other error. but first few observation notes:

  • It asked me for azureAdB2CInstanceURL which is not mentioned in here doc
    but I think is related to the one mentioned later on swagger:
  "deployment": {
	...
    "azureb2c": {
	  ...
      "tenantId": "***GUID***",
      "instance": "https://***.b2clogin.com"
    },
	...
  }
  • About the error, seems Azure is no longer accepting this parameter?
Please provide string value for 'azureAdB2CInstanceURL' (? for help): https://********.b2clogin.com
{"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The template parameters 'azureAdInstance' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'version, keyVaultName, keyVaultUri, azureB2CDomain, azureB2cTenantId, azureAdB2CInstanceURL, signedOutCallBackPath, signUpSignInPolicyId, baseUrl, clientId, userAssignedIdentityName, appConfigurationName, certificateKeyName'. Please see https://aka.ms/arm-pass-parameter-values for usage details.'.", "additionalInfo": [{"type": "TemplateViolation", "info": {"lineNumber": 0, "linePosition": 0, "path": ""}}]}

### Critical Error ###
Failed to deploy to permissions-api. This sometimes happens, please try again.

image


The solution for this, was replacing azureAdInstance for azureAdB2CInstanceURL in the parameter file src\Saas.Identity\Saas.Permissions\deployment\bicep\parameters\config-entries-parameters.json
and
src\Saas.Identity\Saas.Permissions\deployment\script

from azure-saas.

ScottStefanich avatar ScottStefanich commented on May 30, 2024

I restarted the procedure with a new Entra ID tenant and updated the following,

  • WSL
  • Ubuntu 22.04 LTS
  • Docker Desktop
  • Azure CLI
  • GitHub CLI

The Identity Provider deployment script completed without errors on the first try.

The Permissions API deployment script encountered the same error,

### SaaS Administration Service API ###
Provisioning the SaaS Administration Service API...
Deploying App Service: Downloading Identity Foundation outputs from Resource Group 'rg-asdk-test-****' deployment named 'IdentityFoundationDeployment'...
ERROR: User '****@****.com' does not exist in MSAL token cache. Run `az login`.

### Critical Error ###
Failed to get Identity Bicep deployment output parameters

from azure-saas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.