Replies: 5 comments
|
Hello Andi? Is this for the Silent Batch jobs? Or just logging in to via an app? I don't think either of them is possible at the moment. I have to revisit these scenarios to understand them again. Logging in via an app might be possible by specifying the Authority setting but that is not available in the batch login. I know that MSAL has support for login in to additional environments via the public authority but I haven't looked at that and I have no way of testing this myself. Cheers! |
|
Hi Mike, my use case is about connecting graph e.g. china environment. The behavior is depending on the used module. In case using MSGraph module I need to update the MSGraphEnvironment with corresponding application ID (graphAPI), AuthUrl, GraphBaseUrl, GraphResourceId. ... here an example ... After update the environment I´m able to run connect-msgraph and run cmdlets, etc... In case of using the MGGraph there is the possibility to define china environment in the command line, for example ... I changed in the settings the "show azure AD login menu" option and added in the application ID property our graph app ID. But I received a error message that "graph.microsoft.com" was not available. My idea now is to find the position, where the connect is executed, and adjust the MSGraphEnvironment as posted above. Greetings |
|
Hello Andi, Amazing find! Thank you so much. And I am sorry about that. One of the things I have no way of testing. I really appreciate the help! I'll convert this into an issue and fix this in the next release. Cheers! |



Uh oh!
There was an error while loading. Please reload this page.
Hey Mike,
we want to use the tool in an different graph environment and configured in the settings "show azure AD login menu".
Now we prompted and can select a different environment, and sign-in works perfect. We also added a custom application ID for the graph access. What I'm now searching, how to change the msgraph environment (similar like in MgGraph). Is there a possibility to set a different graph environment in one of the init scripts ?
thx
Andi
All reactions