Comments (3)
Hi there.
I've come across the same issue as you, and I changed the line to append .value[0] instead of .key1. I also changed the code from $storageKey = Get-AzureRmStorageAccountKey -Name $StorageAccountName -ResourceGroupName $ResourceGroupName
to be this:
$storageKey = (Get-AzureRmStorageAccountKey -Name $StorageAccountName -ResourceGroupName $ResourceGroupName).value[0] like you mentioned.
For some reason I got a bunch of errors when I tried to do that. The output said it can't index into a null array. Did I do something wrong?
from azureusageandbillingportal.
@GloveNinja217
I make the change in the line 156 and 158. It's a line that changes the parameters that you then have to add to the Visual Solution.
i run this yesterday and got the correct output:
Write-Host ("DefaultEndpointsProtocol=https;AccountName=" + $StorageAccountName + ";AccountKey=" + $storageKey.value[0]) -foreground Red
Write-Host ("DefaultEndpointsProtocol=https;AccountName=" + $StorageAccountName + ";AccountKey=" + $storageKey.value[0]) -foreground Red
from azureusageandbillingportal.
This issue fixed.
from azureusageandbillingportal.
Related Issues (20)
- This repo is missing important files HOT 1
- PowerBI chart errors HOT 3
- Error in WebJobUsageDaily ? HOT 1
- HOWTO.md - **Commons Project:** section
- Issue with CSP subcription cost receiving HOT 1
- Cannot register, even with administrative account HOT 3
- Exception Details: Failed to refresh access token
- Database is empty HOT 7
- WebJobBillingData billingRequest 'StartDate' and 'EndDate' holds initial values HOT 1
- Does this tools support azure sponsorship subscription ? HOT 1
- Registration Error for AUBI HOT 2
- The reply address Issue HOT 3
- $passwordADApp : "System.String" to type "System.Security.SecureString" HOT 1
- Inconsistent data between the invoice and this tool HOT 2
- Execution Timeout Expired error HOT 1
- WebJobBillingData Functions.ProcessQueueMessage failling HOT 4
- Delete existing record is not working in "InsertIntoSqlDbAsync" method. HOT 2
- PowerBI all compents are not dispaly. DataSource is configured HOT 2
- Error when publishing Extensions NAVApp HOT 2
- unable to pull subscriptions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azureusageandbillingportal.