azure-digital-twins-unreal-integration icon indicating copy to clipboard operation
azure-digital-twins-unreal-integration copied to clipboard

how to choose region for the development

Open ytwushui opened this issue 1 year ago • 2 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

image

cant find the region


Thanks! We'll be in touch soon.

ytwushui avatar Aug 01 '24 05:08 ytwushui

same issue probably happening because there are no locations in $tsi_locations = Get-ResourceProviderLocations -provider 'Microsoft.TimeSeriesInsights' -typeName 'environments' (this list is empty) and the intersection of $tsi_location and $adt_locations is a NULL list.

Write-Host "Choose from the list using an index between 1 and $($options.Count)."

$adt_locations = Get-ResourceProviderLocations -provider 'Microsoft.DigitalTwins' -typeName 'DigitalTwinsInstances'
$tsi_locations = Get-ResourceProviderLocations -provider 'Microsoft.TimeSeriesInsights' -typeName 'environments'
$locations = $adt_locations | Where-Object { $tsi_locations -contains $_ } | Sort-Object

$option = Get-InputSelection `
    -options $locations `
    -text "Choose a region for your deployment from this list (using its Index):"

this $options.count is coming to be zero thus an empty list.

On its own $tsi_location is a NULL. Meaning Timeseries insights service is not available !!

pitabread7022 avatar Aug 01 '24 11:08 pitabread7022

@pitabread7022 @ytwushui Has anyone been able to solve this region issue? Some guidance please?

adeerkhan avatar Sep 04 '24 04:09 adeerkhan