Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to choose region for the development #25

Open
ytwushui opened this issue Aug 1, 2024 · 2 comments
Open

how to choose region for the development #25

ytwushui opened this issue Aug 1, 2024 · 2 comments

Comments

@ytwushui
Copy link

ytwushui commented Aug 1, 2024

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.

@pitabread7022
Copy link

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 !!

@adeerkhan
Copy link

adeerkhan commented Sep 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants