Fixed: Failed Publish to Production on Azure

For some reason, my deployments to my production service on stopped working. It looked like some automated process had made a change to my deployment scripts, so I deleted them and started over. Then, I ran into this annoying problem….which I had resolved before, but had just deleted the solution:



  • go to your visual studio website (e.g.,
  • Navigate to the appropriate project > release
  • Click on Deploy Azure App Service

Up and running with TensorFlow on Windows


I tried both pip and Anaconda, and failed.

The pip installation gave me this error:

Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
files not under version control). Otherwise reinstall numpy.

The Anaconda gave me this error message:


and later

ImportError: No module named ‘tensorflow’

I then tried to pip using this:

pip install tensorflow


activate tensorflow


and then running this in the python console:

>>> import tensorflow as tf
>>> sess = tf.Session()
>>> print(




New Product Development Process




Setting up an Azure Data Lake and Azure Data Factory using Powershell

#$resourceGroups = Get-AzureRmResourceGroup
#$azureDataLakeNames = "";
# foreach ($resourceGroup in $resourceGroups) {
# $azureDataLake = Get-AzureRmDataLakeStoreAccount -ResourceGroupName $resourceGroup.ResourceGroupName
# $azureDataLakeName = $azureDataLake.Name
# $azureDataLakeNameLength = $azureDataLakeName.Length
# $azureDataLakeNameLength -gt 0
# if ($azureDataLakeNameLength -gt 0) {
# }
# }
#"DataLakeNames: " + $azureDataLakeNames
$appname = "inventose"
#OPTIONAL: change the password for the security principal password
$password = "Xyzpdq"
$dataLakeStoreName = $appname
$odxResourceGroup = $appname
$dataFactoryResourceGroup = $dataLakeStoreResourceGroup
$dataFactoryLocation = "West US"
#create odxResourceGroup, if it does not exist
if ($notPresent1)
New-AzureRmResourceGroup -Location $dataLakeLocation -Name $odxResourceGroup
#create data lake, if it does not exist
if ($notPresent2)
$homepage = "" + $appname
#create security principal, if it does not exist
$app = Get-AzureRmADApplication -DisplayName $appname
$servicePrincipal = New-AzureRmADServicePrincipal -ApplicationId $app.ApplicationId
Start-Sleep 10
if ($notPresent3)
$subscription = Get-AzureRmSubscription
$subscriptionId= ($subscription).Id
$tenantId = ($subscription).TenantId
#ensure there are permissions
#Get-AzureRmDataLakeStoreItemAclEntry -Account $dataLakeStoreName -Path /
#get information on datalake
$dataLake = Get-AzureRmDataLakeStoreAccount -Name $dataLakeStoreName
#here is a printout
"Location: " + $dataFactoryLocation
Out-File C:UsersMattDyorDesktopDataLake.ps1 -InputObject $text1

This is the Azure Powershell You Are Looking For


Run Login-AzureRmAccount to login


Good luck!



Deleting Multiple Items on Azure

Probably for good reason, there is no easy way to delete a bunch of items from the Azure portal. This means drilling into each of the different items, clicking on delete, possibly confirming something by typing its name into a confirmation screen, waiting a minute for the operation to complete, and then advancing to the next. Totally acceptable for production assets, where you may seriously regret deleting the wrong database (and there is no undo!).

But, when you are developing on Azure, you end up creating a ton of assets, and deleting them one by one is slow (and you actually may go on auto-pilot and end up deleting something that DOES matter). Even worse, some assets do not have a delete option in the portal (hello ADF V2…still preview, so I get it).

The trick to deleting a bunch of items is to use a resource group. Start by navigating to one of the items that you want to delete, click “change” next to resource group, and then you have the option to move a number of items into a new resource group called…trash or something like that. Once all of the items have finished moving to the new resource group, you can delete everything in once fell swoop by deleting the resource group. Pretty clever, huh:).

Have any tips and tricks to share on the Azure portal? I would love to hear them.