GithubHelp home page GithubHelp logo

Region support about 2lcs HOT 9 CLOSED

microsoft avatar microsoft commented on May 3, 2024
Region support

from 2lcs.

Comments (9)

tfa-dk avatar tfa-dk commented on May 3, 2024 1

A quick search and replace of lcs.dynamics.com to eu.lcs.dynamics.com works.
I can start an environment, login to rdp and application. But the 2 2lsc.exes share a data cache, so you have to do a logout and login to see the right environments.

/Torben

from 2lcs.

flauest avatar flauest commented on May 3, 2024 1

If you like I can invite you to a project so you have some were to test

from 2lcs.

flauest avatar flauest commented on May 3, 2024 1

After correcting my typo I got it working. I can now see my 2 projects and I can open a rdp.
So the parameters are working

from 2lcs.

FH-Inway avatar FH-Inway commented on May 3, 2024

The lcs.dynamics.com url is currently hard coded in a couple of files, see https://github.com/search?q=repo%3Amicrosoft%2F2LCS%20lcs.dynamics.com&type=code

A solution would at least require to make that configurable and expose that configuration somewhere in the ui. Not sure if further changes would be required.

from 2lcs.

FH-Inway avatar FH-Inway commented on May 3, 2024

I played around with this and added some basic support for different regions in the parameters of 2LCS.
Note that after changing the urls, you need to log out and log in again.

If you want to test this version, you can go to release 0.31.0 in my fork and download a compiled version there (or just compile the pull request version yourself).

Unfortunately I currently do not have access to LCS projects that are not in the US/global region, so I can't test it fully myself.

image

from 2lcs.

flauest avatar flauest commented on May 3, 2024

When using these parameters
image
I get an logon error:
image

Thx for doing the development. I would like a picking list for Geo, as I will be going to work in both US and EU every day.

from 2lcs.

FH-Inway avatar FH-Inway commented on May 3, 2024

@flauest Thanks for testing!

For the LCS Diagnostic Url, your screenshot shows 2 dots after eu:

https://diag.eu..lca.dynamics.com
                ^

I also got issues (although different from what you describe) with this url value. After removing the duplicate dot, it worked again. Could you try this?

Regarding picking list for geo: I hear you. While doing my changes, I noticed that @TomekMelissa seems to have started adding support for this, see

public struct LcsRegion { public const string None = "None"; public const string UnitedStates = "UnitedStates"; public const string Europe = "Europe"; public const string Canada = "Canada"; public const string UnitedKingdom = "UnitedKingdom"; public const string China = "China"; public const string USGov = "USGov"; public const string Germany = "Germany"; public const string France = "France"; public const string SouthAfrica = "SouthAfrica"; public const string UAE = "UAE"; public const string Switzerland = "Switzerland"; }

Would love to make this more user friendly, but that will take some time.

from 2lcs.

FH-Inway avatar FH-Inway commented on May 3, 2024

If you like I can invite you to a project so you have some were to test

That would be awesome, thank you!

Update: I guess you need an email address to do that :) [email protected]
Find my first and last name on my github profile or look me up on Microsoft's Insider Feedback Yammer (if you have access there). Don't want to spell my email out here because of bots and spam.

from 2lcs.

FH-Inway avatar FH-Inway commented on May 3, 2024

@flauest This is now part of version 0.41.0.

@TomekMelissa I took the liberty of merging #76 and creating a new version with release notes. If nothing comes up until next week, I suggest we remove the prerelease flag and make it the latest version.

from 2lcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.