Comments (8)
Hi @vassilo,
ArcGIS Server doesn't support specifying a specific container. Let's try removing the/hosting-config-store
from the UserName attribute value. For example:
"ConfigStoreCloudStorageAccount":{
"UserName": "mneustortestesri01.blob.core.windows.net",
"Password": "<AccessKey>",
"CloudStorageType": "AzureBlob",
"CloudNamespace": "mneustortestesri01_hosting-config-store",
"AzureBlobAuthenticationType": "AccessKey"
},
Thanks,
Cameron K.
from arcgis-powershell-dsc.
When using a Service Principle Name I still get the
1/22/2024 3:56:32 AM: [mneu-t-a-esri01]: [[ArcGIS_Server]Servermneu-t-a-esri01.anglo.local] Response from CreateSite:- {
"status": "error",
"messages": [
"Failed to create the site. Configuration store error. Azure cloud storage namespace \u0027null\u0027 schema creation failed in 0 ms. Invalid connection string. "
],
"code": 500
}
And when using the Access Key
1/22/2024 4:01:13 AM: [mneu-t-a-esri01]: [[ArcGIS_Server]Servermneu-t-a-esri01.anglo.local] Response from CreateSite:- {
"status": "error",
"messages": [
"No such host is known (mneustortestesri01.table.core.windows.net)."
],
"code": 500
}
Regards,
Vassilo
from arcgis-powershell-dsc.
it appears the storage account is not a general purpose storage account, but a blob only storage account.
The ArcGIS Server config. store needs Table storage endpoints
from arcgis-powershell-dsc.
Ah ha. Thank you. I will change the account and then test.
Maybe the documentation needs to be a bit more specific in the requirements of the storage account. We had selected premium to get it as speedy as possible.
Thanks,
Vassilo
from arcgis-powershell-dsc.
Hi,
I have recreated the storage account to the required one. However, I am still getting the following error when using a SPN.
1/22/2024 9:13:00 AM: [mneu-t-a-esri01]: [[ArcGIS_Server]Servermneu-t-a-esri01.anglo.local] Response from CreateSite:- {
"status": "error",
"messages": [
"Failed to create the site. Configuration store error. Azure cloud storage namespace \u0027null\u0027 schema creation failed in 0 ms. Invalid connection string. "
],
"code": 500
}
Regards,
Vassilo
from arcgis-powershell-dsc.
Hi @vassilo,
Looks like in the json config the AzureBlobAuthenticationType
is set to AccessKey
rather than ServicePrincipalName. Here is an example for ServicePrincipalName:
"ConfigStoreCloudStorageAccount":{
"UserName": "mneustortestesri01.blob.core.windows.net",
"CloudStorageType": "AzureBlob",
"AzureBlobAuthenticationType": "ServicePrincipal",
"AzureBlobServicePrincipal": {
"TenantId": "<tenant>",
"ClientId": "<appId>",
"ClientSecret": "<password>"
},
"CloudNamespace": "mneustortestesri01_hosting-config-store"
}
Thanks,
Cameron K.
from arcgis-powershell-dsc.
In my initial post I had the config for SPN, which by the looks of it is the same as what you have posted.
Could it be a permission issue? The SPN has Storage Blob Data Contributor on the storage account.
For the "ClientSecret" do I use the actual password (Value) or the Secret ID?
Regards,
Vassilo
from arcgis-powershell-dsc.
In my initial post I had the config for SPN, which by the looks of it is the same as what you have posted. Could it be a permission issue? The SPN has Storage Blob Data Contributor on the storage account. For the "ClientSecret" do I use the actual password (Value) or the Secret ID?
Regards, Vassilo
Let's check to make sure the storage account has the following:
- Storage Blob Data Contributor
- Storage Table Data Contributor
- Role assignment has Data owner permissions
from arcgis-powershell-dsc.
Related Issues (20)
- Trouble connecting dual web adaptors HOT 5
- 11.1 to 11.2 Upgrade: ArcGIS_License failed to execute Set-TargetResource SoftwareAuthorization.exe not found HOT 10
- Data Store 11.1 Upgrade - "The computer name was not specified and the configuration directory does not have any configuration files." HOT 2
- ArcGIS_xDisk.psm1 has DataDisk hardcoded as DiskNumber =2, but this is not present on VMs that do not have a temporary disk. HOT 2
- "Register an Enterprise Geodatabase with ArcGIS Server site" Links to devtopia.esri.com HOT 1
- Changelogs for versions so scripts can be more easily upgraded
- 4.2: GISServer-GeneralPurpose-MultipleWA-MultiContext.json Uses AllNodes.WebAdaptorConfig.ServerContext Instead of AllNodes.WebAdaptorConfig.Context
- DSC 4.2 - Enterprise 11.1 - AllNode property not getting completely processed when doing downloads. HOT 1
- Documentation: Portal Content directory must exist, it will not be created HOT 1
- Service account username/password is not changed if service is already set as automatic startup HOT 1
- Enterprise 11.2 - Insights 2023.3 HOT 1
- Web Adaptor fails to install with exit code 1642 HOT 2
- Installing on AWS image with pre-installed server HOT 7
- WebAdaptor fails to install with error SendConfigurationApply function did not succeed HOT 6
- [ArcGISLicense] ArcGIS Pro Single licensing not working. HOT 1
- Multiple WA settings HOT 4
- Server installation error when defining WebAdaptor in role HOT 1
- ArcGIS Enterprise Upgrade From 11.1 to 11.2 Failed to Install Portal HOT 6
- ArcGIS Pro Patches not Downloaded/Installed HOT 5
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 arcgis-powershell-dsc.