Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

June 6, 2018

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 06 Jun 03:50
· 37 commits to master since this release
732bdfa

As of this release, we are introducing a code freeze. This means no new configurations or features will be added until after version 1.0 has been released. This code freeze will allow us to focus on addressing issues and simplifying the deployment. If there is a new feature you would like to see added please log a request using the issue tracker, and we will prioritize it accordingly for a future release.

The following enhancements were made with this release

  • Added logic to the ProcessEnvironments function to write a warning to the console if no environments have been created.
  • Modified the authentication configuration for the portal to utilize Azure AD app roles over Azure AD directory roles. This change will make it easier for organizations that are using separate Azure AD tenants for authentication to deploy the solution.

The following issues were addressed with this release

  • Deployment may fail with error an stating the key vault name is invalid. Pull request #24 introduced the solution for this issue.

This update will require an Azure AD application role be defined and assigned to users that will be managing environments using the portal. Users who are not assigned to this role will receive an access denied error when attempting to access the portal. If you have an existing Azure AD application that you would like to use for the portal then it is recommended that you run the following PowerShell script to create the application role

Connect-AzureAD

$adminAppRole = [Microsoft.Open.AzureAD.Model.AppRole]@{
    AllowedMemberTypes = @("User");
    Description = "Administrative users the have the ability to perform all Smart Office operations.";
    DisplayName = "Smart Office Admins";
    IsEnabled = $true;
    Id = New-Guid;
    Value = "SmartOfficeAdmins";
}

# Note the following value can be found in the Azure management portal. Also, it should be a GUID with no trailing spaces.
$appId = Read-Host -Prompt "What is the application identifier for the application you would like to configure?"
$app = Get-AzureADApplication -Filter "AppId eq '$($appId)'"

Set-AzureADApplication -ObjectId $app.ObjectId -AppRoles @($appRoles)

If you need information on how to assign users to Azure AD application roles please refer to How to assign users and groups to an application. Please see the wiki for more information on to deploy this solution and create new environments using the portal.