text:
how to get element list?

I want to click this button

but I can't get a list of buttons.
how to get it?
I tried this but fail
`
String xpath = "/Pane[@ClassName="#32769"][@Name="데스크톱 1"]/Window[@ClassName="#32770"][@Name="네이버 MYBOX 탐색기"]";
List list = (List) winapp.findElementsByXPath(xpath);`

What is shown in inspect.exe?

What is shown in inspect.exe?

this is it

You can use automation id 30100.

You can use automation id 30100.

But the ID of all buttons is 30100. I want to press the button I want.

If the UI is static then you can click by index, if not then ask the application developer to implement automation properties.

If the UI is static then you can click by index, if not then ask the application developer to implement automation properties.

Thanks for your comment


text:
Update the Train the Trainer Verbiage

Marketing came back to us this week and requested that we make minor changes specifically around the "Train-the-Trainer" phrase in our AI Tour materials. Please complete the following tasks to ensure compliance:

[x]  Change "train-the-trainer" to "session-delivery-resources" in the folder structure
[x] Add boiler plate text (see below) to the top of the "session-delivery-resources" readme
[x] Change any in-text mentions of "train the trainer" to some version of "deliver this session."

Once all three items have been completed, please mark this issue as complete.
"session-delivery-resources" boiler plate markdown:
The following resources are intended for a presenter to learn and deliver the session.

*closing, thanks @videlalvaro

source: gharchive/issue

authors: cole-g-johnson toolboc

license: MIT

license_type: permissive

license_source: github-api


text:
update to react 18

update to react 18

Just discovered this library and it would indeed be great to update the React dependencies. 🙏

authors: estruyf volarname

repo: microsoft/azure-devops-extension-sample


text:
Fails deploying azure function using azure cli auth type

Plugin name and version
<plugin>
                    <groupId>com.microsoft.azure</groupId>
                    <artifactId>azure-functions-maven-plugin</artifactId>
                    <version>1.21.0</version>
                </plugin>

Plugin configuration in your pom.xml
  <plugin>
                <groupId>com.microsoft.azure</groupId>
                <artifactId>azure-functions-maven-plugin</artifactId>
        <configuration>
                    <resourceGroup>${functionResourceGroup}</resourceGroup>
                    <appName>${functionAppName}</appName>
                    <region>${functionAppRegion}</region>
                    <auth><type>azure_cli</type></auth>
                    <subscriptionId>subscription id</subscriptionId>
                    <appSettings>
                        <!-- Run Azure Function from package file by default -->
                        <property>
                            <name>WEBSITE_RUN_FROM_PACKAGE</name>
                            <value>1</value>
                        </property>
                        <property>
                            <name>FUNCTIONS_EXTENSION_VERSION</name>
                            <value>~4</value>
                        </property>
                        <property>
                            <name>FUNCTIONS_WORKER_RUNTIME</name>
                            <value>java</value>
                        </property>
                    </appSettings>
                </configuration>
                <executions>
                    <execution>
                        <id>package-functions</id>
                        <goals>
                            <goal>package</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Expected behavior
should deploy.
Actual behavior
Fails with below error
Caused by: com.microsoft.azure.toolkit.lib.auth.exception.AzureToolkitAuthenticationException: execute Azure Cli command 'az version --output json' failed due to error: Process exited with an error: 2 (Exit value: 2).
    at com.microsoft.azure.toolkit.lib.auth.util.AzureCliUtils.executeAzureCli (AzureCliUtils.java:99)
    at com.microsoft.azure.toolkit.lib.auth.util.AzureCliUtils.ensureMinimumCliVersion (AzureCliUtils.java:31)
    at com.microsoft.azure.toolkit.lib.auth.core.azurecli.AzureCliAccount.lambda$preLoginCheck$2 (AzureCliAccount.java:36)
    at reactor.core.publisher.MonoCallable.subscribe (MonoCallable.java:56)
    at reactor.core.publisher.Mono.subscribe (Mono.java:4150)
    at reactor.core.publisher.Mono.block (Mono.java:1702)

Steps to reproduce the problem

Login use az login and set subscription.
attempts to deploy

I think it's a typo in your pom.xml.  Instead of <auth><type>azure_cli</type></auth> use <authType>azure_cli</authType>

I think it's a typo in your pom.xml. Instead of <auth><type>azure_cli</type></auth> use <authType>azure_cli</authType>

Still fails with same error

I think it's a typo in your pom.xml. Instead of <auth><type>azure_cli</type></auth> use <authType>azure_cli</authType>

Still fails with same error

what did you see when you run az version --output json directly in shell/terminal?

what did you see when you run az version --output json directly in shell/terminal?

{
  "azure-cli": "2.42.0",
  "azure-cli-core": "2.42.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {
    "account": "0.2.5",
    "interactive": "0.4.5",
    "storage-preview": "0.8.3"
  }
}

Not sure why but I just tried once again, and this time it seems to work. Super weird. I don't recall doing any kind of changes etc

ok now it fails saying:
Caused by: com.microsoft.azure.toolkit.lib.auth.AzureToolkitAuthenticationException: execute Azure Cli command 'az account list --output json' failed due to error: Process exited with an error: 2 (Exit value: 2).
    at com.microsoft.azure.toolkit.lib.auth.cli.AzureCliUtils.executeAzureCli (AzureCliUtils.java:84)
    at com.microsoft.azure.toolkit.lib.auth.cli.AzureCliUtils.listSubscriptions (AzureCliUtils.java:59)
    at com.microsoft.azure.toolkit.lib.auth.cli.AzureCliAccount.loadSubscriptions (AzureCliAccount.java:55)
    at com.microsoft.azure.toolkit.lib.auth.Account.reloadSubscriptions (Account.java:146)
    at com.microsoft.azure.toolkit.lib.auth.Account.login (Account.java:96)
    at com.microsoft.azure.toolkit.lib.auth.AzureAccount.login (AzureAccount.java:124)
    at com.microsoft.azure.maven.AbstractAzureMojo.loginAzure (AbstractAzureMojo.java:365)
    at com.microsoft.azure.maven.AbstractAzureMojo.loginAzure (AbstractAzureMojo.java:347)
    at com.microsoft.azure.maven.appservice.AbstractAppServiceMojo.initAzureAppServiceClient (AbstractAppServiceMojo.java:150)
    at com.microsoft.azure.maven.function.DeployMojo.d

Bit more investigation, it seems to fail only when attempting to deploy via WSL2 terminal . Seems to work when deploying via powershell terminal.
Why would that be?

thanks for your investigation, we didn't set any restrictions on WSL2, we'll investigate what is wrong.

thanks for your investigation, we didn't set any restrictions on WSL2, we'll investigate what is wrong. does both az account list --output json and az version --output json works well in your WSL2 terminal?

Yes both command works properly when run directly on wsl2 terminal and gives output

Up vote.  I also have this problem.

@jleonelion @pankajagrawal16 thanks for your report, this bug should be fixed by this PR: https://github.com/microsoft/azure-maven-plugins/pull/2183.
the fix would be included in the next release v1.23.0

Nice @wangmingliang-ms ! 🎉

authors: AidenFawkes jleonelion pankajagrawal16 wangmingliang-ms

repo: microsoft/azure-maven-plugins


text:
Self-service admin for event organisers

Presently, when you want to add a new event, this requires going into the Azure resource group, accessing the Storage account and adding a new record to the table, or using one of the management REST APIs that are available (provided you have the appropriate access token).
There is also no easy way to revoke a token, add a new model to an event, or general administrative tasks.
This is tracking the overall feature request.

[x] ~#40~ Replaced by #44
[x] #39
[x] ~#41~
[x] #42

We can leverage authN and authZ for Container Apps for this

[x] #43
[x] #44
[x] ~#45~ Replaced by #77

### Tasks
- [ ] https://github.com/microsoft/azure-openai-service-proxy/issues/75
- [ ] https://github.com/microsoft/azure-openai-service-proxy/issues/77
- [ ] https://github.com/microsoft/azure-openai-service-proxy/issues/86

completed

authors: aaronpowell gloveboxes

repo: microsoft/azure-openai-service-proxy


text:
Configuration & running agent behind corporate proxy

Wondering if there is a way we can specify proxy settings when running the configuration?
At the moment within corporate boundaries I'm getting this after running ./config.sh and entering my server URL and PAT  ...

Connecting to server ...
An error occurred while sending the request.
Failed to connect.  Try again or ctrl-c to quit.

However, when I connect my Mac outside of corporate boundaries the configuration and running of the agent works OK.
I noticed this thread for the previous agent https://github.com/Microsoft/vso-agent/issues/67 .  I tried this ...

export HTTP_PROXY=[proxy url]

... but it didn't seem to work.  Does this agent support proxies?

We will keep this open to track the work.  Ideally, net core will provide the mechanism.  In the previous agent, that setting was only for debugging (Fiddler, Charles, etc...) and didn't have full proxy support.

@jhmoy I'm looking into adding proxy support. Do you know what proxy software are you using?

@stiliev I'm working at a site that uses BlueCoat as the proxy software.  And yes it is an authenticated proxy.

@jhmoy have you been able to make it work behind the proxy. I face the same issue though in my case the proxy does not require authentication. For me neither the vsts-agent nor the vso agent work behind the proxy. vsts-agent fails with the same error despite I even set the proxy settings for curl incase.

Unauthenticated proxy support will be in the next preview this week.

@bryanmacfarlane Thank you! Looking forward to it.

2.102.0 supports setting proxy url.  See troubleshooting section.  Doesn't support setting proxy creds via envvars yet.

I am tyring to configure an agent behind a corporate proxy and can't get it to work.
I am using 2.104.0
When I tried to configure without setting the VSTS_HTTP_PROXY environment variable it couldn't connect with an error straight away.
When I try to configure with the VSTS_HTTP_PROXY environment variable set it gets further through the configuration process, it even adds the agent (Can see it in Team Services web portal although marked red) but still crashes with an error.
Config.cmd Output
C:\Agent>config.cmd

>> Connect:

Enter server URL > https://pulselogistics.visualstudio.com
Enter authentication type (press enter for PAT) >
Enter personal access token > **************************************************
**
Connecting to server ...

>> Register Agent:

Enter agent pool (press enter for default) > Redacted
Enter agent name (press enter for PLSDB-1) > Redacted
Scanning for tool capabilities.
Connecting to the server.
Successfully added the agent
Testing agent connection.
Error while copying content to a stream.

C:\Agent>

I have attached the _diag entries for reference.
_diag.txt

@schnitty - it didn't crash.  It did the test connection and failed to stream the result, detect the error, reported it and exited.  The test connection did it's job.
Does the proxy require authentication?  (we don't support that right now).   Anything else you can tell us about your proxy server?

@schnitty are you able to get fiddler trace when the error happen?

First let me say i'm thrilled with the quick response.
@bryanmacfarlane yes sorry it doesn't crash, I should have said that it failed to complete the entire configuration process.
The proxy may require authentication, I'll check with our client's IT department.  I thought I may have gotten lucky (in the sense that I got this far without it) but if it is expected that it doesn't work at that point in the code (needs credentials for proxy) then that is good to know.
I pulled down the source (As a long time MS dev, it feels good to be able to do this now) and did some debugging on my dev machine and noted that the initial connection to register the agent and query the capabilities works ok but the second connection doesn't, even though the calling code is similar/same.  I figured that if the first call worked (through the proxy) then the second one would also.  I'm probably showing my ignorance here but seemed logical at the time :)
At this juncture I will speak with their IT to determine if the proxy needs authentication details or not.  If it does then I guess I have my answer.  I'll have to get them to allow requests out to our team services account to bypass the proxy.  If it doesn't require authentication then I will see when/if I can do a fiddler trace and get back to you.
Thanks

We managed to get the agent to configure.
Their IT modified their proxy to bypass authentication for the following sites:
https://.visualstudio.com
https://.vssps.visualstudio.com
Doing that got past the error that I was experiencing.
I won't know if that is enough until I can test releasing using the agent which I can't do until I can schedule some downtime on their server to install the latest version of .NET framework.
Will update how I go next week.

@schnitty - thanks for the update.   This issue is tracking the ability to supply credentials which we will get to soon I hope.

I should mention that in relation to my customer, they ended up agreeing to place the Mac in a separate zone that didn't require proxy access to the internet.

@jhmoy Thanks.  Hopefully we can get to full support very soon.

Hi, thanks for all the comments above.
I've run into this issue and our networking team have enabled bypass authentication of the sites @schnitty mentioned above but I'm still unable to set up the agent. Bypassing https://.visualstudio.com allowed the application to reach the ">>Register Agent:" prompt but it's a couple of steps later that it's failing at now:
**Connecting to server ...

Register Agent:

Enter agent pool (press enter for default) >
Enter agent name (press enter for MyAgent) >
Scanning for tool capabilities.
Connecting to the server.
An error occurred while sending the request.**
I've had a look at the traffic in Wireshark and it appears there's a subsequent connection attempt to mycompute2.iaas.ext.azure.com:433. We've tried bypassing the proxy for this too but to no avail...

I also tried setting VSTS_HTTP_PROXY and event viewer started showing An error occurred: Invalid URI: The URI scheme is not valid. right away. I've had to disable the agent until there's a fix.

I wanted to chime in to mention that I'm also having trouble getting the agent to work with my company's proxy, which does normally require authentication. However, I was given a proxy address that should allow the agent to bypass the authentication, but when I set it using set VSTS_HTTP_PROXY=https://<proxyaddress>:<port> I still get stuck during configuration. It almost seems like it's ignoring the proxy settings.
Fiddler doesn't show anything different when using the proxy above or using 127.0.0.1:8888.
>> Connect:

Enter server URL > https://<account>.visualstudio.com
Enter authentication type (press enter for PAT) >
Enter personal access token > **************************************************
**
Connecting to server ...

>> Register Agent:

Enter agent pool (press enter for default) >
Enter agent name (press enter for SERVERNAME) >
Scanning for tool capabilities.
Connecting to the server.
Enter replace? (Y/N) (press enter for N) > y
Successfully replaced the agent
Testing agent connection.
A task was canceled.

Just another little update in case this helps anyone or not we got the agent configured but then it wouldn't run.  We got it running but also had to add the following sites to the list of sites to not require authenticate when using the proxy.
https://github-cloud.s3.amazonaws.com
https://github.com

@schnitty - great.  Note that the github endpoints are used when the agent is updated.  It might be github, it might be download center eventually etc...

Thanks for the info.  I haven't put it under any significant tests yet so from your post and other people's experience it looks like we have two options.  1. Wait until authenticated proxies are supported.  2. Get the IT team to keep a trace on the sites that it hits and keep adding them to the list.

Authenticated proxies will be supported with the 2.105.0 release tonight/tomorrow

2.105.0 is uploaded
https://github.com/Microsoft/vsts-agent/blob/master/docs/start/proxyconfig.md

@bryanmacfarlane Awesome, thanks. How long does it usually take before it appears in VSTS? I just downloaded an agent and it was 2.104.2.

We're doing the config change today.  You can always download directly from GitHub.  the config change just changes the url and version in our DB to point.

@bryanmacfarlane I downloaded, removed current agent, set variables (username and password), rebooted, confirmed variables set, added new agent, added .proxy file, rebooted, and it shows just as before...registered but offline.
[2016-08-17 22:38:27Z INFO Terminal] WRITE LINE: Connecting to the server.
[2016-08-17 22:38:27Z INFO MessageListener] Attempt to create session.
[2016-08-17 22:38:27Z INFO MessageListener] Connecting to the Agent Server...
[2016-08-17 22:43:02Z ERR  MessageListener] Catch exception during create session.
[2016-08-17 22:43:02Z ERR  MessageListener] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The operation timed out
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__101.MoveNext()
   --- End of inner exception stack trace ---

We had some customers get through it.  They had to trim the leading or trailing white space in the .proxy file.  We're updating doc and next patch will trim

That was it! Instant green.

Awesome.  We will fix in .1

Closing as we've had a couple of positive confirmations.  We did the trim fix already.

Thank you trim fix works great !

I am getting a similar error  the logs of agents are as follows
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Failed initialization
at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)
at System.Net.Http.CurlHandler.EasyRequest.SetNetworkingOptions()
at System.Net.Http.CurlHandler.EasyRequest.InitializeCurl()
at System.Net.Http.CurlHandler.MultiAgent.ActivateNewRequest(EasyRequest easy)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)    at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)    at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection) [2019-04-29 20:36:16Z INFO VisualStudioServices] Starting operation Location.GetConnectionData [2019-04-29 20:36:16Z ERR  VisualStudioServices] GET request to https://bpt-informationsecurity-cat-com.visualstudio.com/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Failed initialization    at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)    at System.Net.Http.CurlHandler.EasyRequest.SetNetworkingOptions()    at System.Net.Http.CurlHandler.EasyRequest.InitializeCurl()    at System.Net.Http.CurlHandler.MultiAgent.ActivateNewRequest(EasyRequest easy)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) [2019-04-29 20:36:16Z INFO VisualStudioServices] Finished operation Location.GetConnectionData [2019-04-29 20:36:16Z INFO CommandSettings] Flag 'unattended': 'False' [2019-04-29 20:36:16Z ERR  Terminal] WRITE ERROR (exception): [2019-04-29 20:36:16Z ERR  Terminal] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Failed initialization    at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)    at System.Net.Http.CurlHandler.EasyRequest.SetNetworkingOptions()    at System.Net.Http.CurlHandler.EasyRequest.InitializeCurl()    at System.Net.Http.CurlHandler.MultiAgent.ActivateNewRequest(EasyRequest easy)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.IsHostedServer(String serverUrl, VssCredentials credentials)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)
[2019-04-29 20:36:16Z ERR  Terminal] WRITE ERROR: Failed to connect.  Try again or ctrl-c to quit
[2019-04-29 20:36:16Z INFO CommandSettings] Arg 'url': ''
[2019-04-29 20:36:16Z INFO CommandSettings] Flag 'unattended': 'False'
[2019-04-29 20:36:16Z INFO PromptManager] ReadValue
[2019-04-29 20:36:16Z INFO Terminal] WRITE: Enter server URL >
[2019-04-29 20:36:16Z INFO Terminal] READ LINE
[2019-04-29 20:36:58Z INFO Terminal] WRITE LINE: Exiting.
Any help  would be great.

@ARMAAN7139 try use CURL to hit the service through your proxy server, the error you get might means the libcurl on your box is not properly installed.

@TingluoHuang  Thank you so much, after installing the new  curl version, I was able to connect to the server successfully. Cheers.

@ARMAAN7139 cool, grad you unblocked. 🎉

Just upraded libcurl to latest: 7.67.0
The error still remains, no matter what I do

authors: 4F2E4A2E ARMAAN7139 TingluoHuang bryanmacfarlane claytob86 jdshkolnik jhmoy naveenkumargc schnitty steveplatz stiliev zoltanlogo

repo: microsoft/azure-pipelines-agent


text:
Build pipeline using older version of node always ? unable to change to new version

Use Node Task output
Starting: Use Node
Task         : Node.js tool installer
Description  : Finds or downloads and caches the specified version spec of Node.js and adds it to the PATH
Version      : 0.192.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/node-js
Found tool in cache: node 16.13.1 x64
Prepending PATH environment variable with directory: /opt/hostedtoolcache/node/16.13.1/x64/bin
Finishing: Use Node
Npm run build task output
`Starting: npm build
Task         : npm
Description  : Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts.
Version      : 1.187.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/npm
/opt/hostedtoolcache/node/6.17.1/x64/bin/npm --version
3.10.10
/opt/hostedtoolcache/node/6.17.1/x64/bin/npm config list
npm info it worked if it ends with ok
npm verb cli [ '/opt/hostedtoolcache/node/6.17.1/x64/bin/node',
npm verb cli   '/opt/hostedtoolcache/node/6.17.1/x64/bin/npm',
npm verb cli   'config',
npm verb cli   'list' ]
npm info using npm@3.10.10
npm info using node@v6.17.1
npm verb exit [ 0, true ]
npm info ok
; cli configs
user-agent = "npm/3.10.10 node/v6.17.1 linux x64"
; environment configs
loglevel = "verbose"
userconfig = "/home/vsts/work/1/npm/11107362.npmrc"
; userconfig /home/vsts/work/1/npm/11107362.npmrc
registry = "#####removed###"
; node bin location = /opt/hostedtoolcache/node/6.17.1/x64/bin/node
; cwd = /home/vsts/work/1/s
; HOME = /home/vsts
; "npm config ls -l" to show all defaults.
/opt/hostedtoolcache/node/6.17.1/x64/bin/npm run build
npm info it worked if it ends with ok
npm verb cli [ '/opt/hostedtoolcache/node/6.17.1/x64/bin/node',
`

Hi @sathishreddy48 I was not able to reproduce the issue with current task versions - it selects nodejs version properly for me. Could you please share yaml file to reproduce this issue?

`resources:
repositories:

repository: SkypeSpaces-Infra
type: git
name: SkypeSpaces-Infra

variables:
Required variables.

name: service_id
value: '########'

name: enableGdnV2
value: true

name: uiPath
value: '$(Build.SourcesDirectory)/TeamsVirtualEvents.Portal/clientapp'

name: MustacheUiPath
value: '$(Build.SourcesDirectory)/Deployment/DeploymentAutomation'

name: GDN_DOTNET_INSTALL
value: false

name: NugetToolsVersion
value: 4.7.0
trigger: none
extends:
template: general_build_template.yml@SkypeSpaces-Infra
parameters:
name: build_PR
pool:
name: Azure Pipelines
platform: Windows
vmImage: 'windows-2019'
service_tree:
service_id: ${{ variables.service_id }}
isProduction: false
jobParams:
condition: succeeded()
timeoutInMinutes: 120
checkout:
repo: self
clean: true
stages:

stage: Build
jobs:

job: BuildJob
steps:

task: NodeTool@0
displayName: "Use Node LTS"
inputs:
versionSpec: 16.13.1

task: Npm@1
displayName: "CI install Package-lock"
inputs:
command: custom
verbose: false
customCommand: "install --prefix . --package-lock-only"
customRegistry: useFeed
customFeed: '####'

task: Npm@1
displayName: "CI install "
inputs:
command: custom
verbose: false
customCommand: "ci --prefix . --progress=false --no-audit --loglevel=error"
customRegistry: useFeed
customFeed: '#####'

task: Npm@1
displayName: 'npm install'
inputs:
command: custom
workingDir: ${{variables.uiPath}}
verbose: false
customCommand: 'install'
customRegistry: useFeed
customFeed: '####'

task: Npm@1
displayName: 'npm build'
inputs:
command: custom
workingDir: ${{variables.uiPath}}
verbose: false
customCommand: 'run build:dev'
customRegistry: useFeed
customFeed: '######'

task: UseDotNet@2
displayName: 'Use .NET Core SDK'
inputs:
packageType: 'sdk'
version: 3.1.412
installationPath: $(Agent.ToolsDirectory)/dotnet

task: NuGetToolInstaller@1
displayName: Use NuGet 5.8.x
inputs:
versionSpec: 5.8.x
installationPath: $(Agent.ToolsDirectory)/dotnet

task: DotNetCoreCLI@2
displayName: 'Restore nuget for solution'
inputs:
command: restore
projects: '**/*.csproj'
nugetConfigPath: nuget.config
vstsFeed: '########'

task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
projects: TeamsVirtualEvents.Portal/TeamsVirtualEvents-Portal.sln
arguments: '--configuration release -r win-x64'

task: DotNetCoreCLI@2
displayName: '.Net Publish VirtualEvents Portal'
inputs:
command: publish
publishWebProjects: false
projects: 'TeamsVirtualEvents.Portal/TeamsVirtualEvents-Portal.csproj'
arguments: '#####'
zipAfterPublish: false
modifyOutputPath: false
vstsFeed: '############'

task: ServiceFabricUpdateManifests@2
displayName: 'Update VirtualEvents Portal SF Manifests'
inputs:
applicationPackagePath: CMDServices/CmdSvcs/TeamsVirtualEvents.Portal.ServiceFabricApp/ApplicationPackageRoot
versionSuffix: '1.0.0.$(Build.BuildNumber)'
versionBehavior: Replace

task: ArchiveFiles@2
displayName: 'Package Virtual Events Portal'
inputs:
rootFolderOrFile: CMDServices/CmdSvcs/TeamsVirtualEvents.Portal.ServiceFabricApp/ApplicationPackageRoot
includeRootFolder: false
archiveType: 'zip'
archiveFile: Deployment/bin/TeamsVirtualEventsPortalApp.sfpkg

Packaging
      - task: Npm@1
        displayName: 'install mustache'
        inputs:
         workingDir: ${{variables.MustacheUiPath}}
         command: custom
         verbose: false
         customCommand: 'install -g mustache@3.0.1'

      - task: NuGetToolInstaller@0
        displayName: 'Install Nuget Tools'
        inputs:
          versionSpec: 5.8.x
          installationPath: $(Agent.ToolsDirectory)/dotnet

      - task: VSBuild@1
        displayName: 'Build solution Deployment/DeploymentAutomation/DeploymentAutomation.sln'
        inputs:
          solution: Deployment/DeploymentAutomation/DeploymentAutomation.sln
          msbuildArgs: '/p:AppVersion=1.0.0.$(Build.BuildNumber)'

      - task: CopyFiles@2
        displayName: 'Copy EV2 cloud rollout'
        inputs:
          SourceFolder: 'Deployment\expressv2'
          TargetFolder: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop'

      - task: CopyFiles@2
        displayName: 'Copy sfpckg Dev'
        inputs:
          SourceFolder: 'Deployment\bin'
          TargetFolder: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop\Dev\bin'

      - task: PublishBuildArtifacts@1
        displayName: 'Publish Artifact: drop'
        inputs:
          PathtoPublish: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop'`

`resources:
repositories:

repository: SkypeSpaces-Infra
type: git
name: SkypeSpaces-Infra

variables:
Required variables.

name: service_id
value: '########'

name: enableGdnV2
value: true

name: uiPath
value: '$(Build.SourcesDirectory)/TeamsVirtualEvents.Portal/clientapp'

name: MustacheUiPath
value: '$(Build.SourcesDirectory)/Deployment/DeploymentAutomation'

name: GDN_DOTNET_INSTALL
value: false

name: NugetToolsVersion
value: 4.7.0
trigger: none
extends:
template: general_build_template.yml@SkypeSpaces-Infra
parameters:
name: build_PR
pool:
name: Azure Pipelines
platform: Windows
vmImage: 'windows-2019'
service_tree:
service_id: ${{ variables.service_id }}
isProduction: false
jobParams:
condition: succeeded()
timeoutInMinutes: 120
checkout:
repo: self
clean: true
stages:

stage: Build
jobs:

job: BuildJob
steps:

task: NodeTool@0
displayName: "Use Node LTS"
inputs:
versionSpec: 16.13.1

task: Npm@1
displayName: "CI install Package-lock"
inputs:
command: custom
verbose: false
customCommand: "install --prefix . --package-lock-only"
customRegistry: useFeed
customFeed: '####'

task: Npm@1
displayName: "CI install "
inputs:
command: custom
verbose: false
customCommand: "ci --prefix . --progress=false --no-audit --loglevel=error"
customRegistry: useFeed
customFeed: '#####'

task: Npm@1
displayName: 'npm install'
inputs:
command: custom
workingDir: ${{variables.uiPath}}
verbose: false
customCommand: 'install'
customRegistry: useFeed
customFeed: '####'

task: Npm@1
displayName: 'npm build'
inputs:
command: custom
workingDir: ${{variables.uiPath}}
verbose: false
customCommand: 'run build:dev'
customRegistry: useFeed
customFeed: '######'

task: UseDotNet@2
displayName: 'Use .NET Core SDK'
inputs:
packageType: 'sdk'
version: 3.1.412
installationPath: $(Agent.ToolsDirectory)/dotnet

task: NuGetToolInstaller@1
displayName: Use NuGet 5.8.x
inputs:
versionSpec: 5.8.x
installationPath: $(Agent.ToolsDirectory)/dotnet

task: DotNetCoreCLI@2
displayName: 'Restore nuget for solution'
inputs:
command: restore
projects: '**/*.csproj'
nugetConfigPath: nuget.config
vstsFeed: '########'

task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
projects: TeamsVirtualEvents.Portal/TeamsVirtualEvents-Portal.sln
arguments: '--configuration release -r win-x64'

task: DotNetCoreCLI@2
displayName: '.Net Publish VirtualEvents Portal'
inputs:
command: publish
publishWebProjects: false
projects: 'TeamsVirtualEvents.Portal/TeamsVirtualEvents-Portal.csproj'
arguments: '#####'
zipAfterPublish: false
modifyOutputPath: false
vstsFeed: '############'

task: ServiceFabricUpdateManifests@2
displayName: 'Update VirtualEvents Portal SF Manifests'
inputs:
applicationPackagePath: CMDServices/CmdSvcs/TeamsVirtualEvents.Portal.ServiceFabricApp/ApplicationPackageRoot
versionSuffix: '1.0.0.$(Build.BuildNumber)'
versionBehavior: Replace

task: ArchiveFiles@2
displayName: 'Package Virtual Events Portal'
inputs:
rootFolderOrFile: CMDServices/CmdSvcs/TeamsVirtualEvents.Portal.ServiceFabricApp/ApplicationPackageRoot
includeRootFolder: false
archiveType: 'zip'
archiveFile: Deployment/bin/TeamsVirtualEventsPortalApp.sfpkg

Packaging
      - task: Npm@1
        displayName: 'install mustache'
        inputs:
         workingDir: ${{variables.MustacheUiPath}}
         command: custom
         verbose: false
         customCommand: 'install -g mustache@3.0.1'

      - task: NuGetToolInstaller@0
        displayName: 'Install Nuget Tools'
        inputs:
          versionSpec: 5.8.x
          installationPath: $(Agent.ToolsDirectory)/dotnet

      - task: VSBuild@1
        displayName: 'Build solution Deployment/DeploymentAutomation/DeploymentAutomation.sln'
        inputs:
          solution: Deployment/DeploymentAutomation/DeploymentAutomation.sln
          msbuildArgs: '/p:AppVersion=1.0.0.$(Build.BuildNumber)'

      - task: CopyFiles@2
        displayName: 'Copy EV2 cloud rollout'
        inputs:
          SourceFolder: 'Deployment\expressv2'
          TargetFolder: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop'

      - task: CopyFiles@2
        displayName: 'Copy sfpckg Dev'
        inputs:
          SourceFolder: 'Deployment\bin'
          TargetFolder: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop\Dev\bin'

      - task: PublishBuildArtifacts@1
        displayName: 'Publish Artifact: drop'
        inputs:
          PathtoPublish: '$(Build.ArtifactStagingDirectory)\Deployment\ev2drop'`

installed npm mentioning working directory explicitly   workingDir: ${{variables.uiPath}}   then it started recognizing the latest installed npm / node version otherwise it wasn't.


text:
Migrate to Node 20

Task description
In order to migrate tasks to the Node20 execution handler, we have to update the pipelines-task-lib itself to support the Node20 runtime.
Changelog

Created a new release branch releases/5.x
Added node20 to task.schema.json
Update node 20 version in pipelines
Update node 20 version in package.json and package-loc.json
Update docs and changelog.

@qianz2 how were these changes tested?

@qianz2 how were these changes tested?

Hi @max-zaytsev, I didn't see ways to test these changes other than the existing check azure-pipelines-task-lib. I think we'll use this new release preview version in tasks, then running task tests to ensure they'll work with node20 tasks.

important notice - node20 isn't supported on Ubuntu 18.04 - see nodesource
But Ubuntu 18.04 is as supported distro for self hosted agents
When you setup node20 as default runner, it crashes all current production environments with Ubuntu 18.04.
It can be a huge problem.
Node16 runner must be default one for current azure pipeline agent.

The changes in this PR is tentative, all migrated tasks are working well without bumping and upgrading this task-lib, same as for the tool-lib PR that I initiated, we've planned to create release branches and check changes to master, but they're not blocking the migration as far as I know. So I will hold it for now, eventually we'll check it in.

Hi @merlynomsft @qianz2, is it possible to have a status update for this PR?

source: gharchive/pull-request

repo: microsoft/azure-pipelines-task-lib


text:
[Question]: XamariniOS@2 does not generate .dSYM file

Task name
XamariniOS@2
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
macOS
Question
Somehow when using XamariniOS@2, i'm not able to generate .dSYM file, but when running locally, it seem to be working fine, i'm able to see the file from .iOS/iPhone/Release. So i don't think that's an issue from the project configuration.
Is there anything i can do to make this task generate .dSYM file?

Hi @huyvuskedulo thank you for reporting the issue. Could you please provide some logs related to this error?

authors: aleksandrlevochkin huyvuskedulo

repo: microsoft/azure-pipelines-tasks


text:
File bugs for teams with lots of bugs, especially stale ones

This PR adds an action step that files bugs to teams for which one of the following is true.

The team has >100 issues opened with the label bug.
The team has >10 issues opened with the label bug that are stale (>30 days without action).
The team has >0 issues opened with the label bug that are stale and have no comments since being opened.

All of these numbers are configurable, as are which areas map to teams. Right now, this would file bugs for all 6 teams that are included, but I think that genuinely reflects a problem that should be addressed.

Example of a bug that this creates: https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/1644439


text:
Terraform init failure on Azure Devops Pipeline

Dear gurus,
i have been working on fixing this issue with no luck and i hope i could have some advise here, thank you in advance.
I have a simple yaml file below:
Starter pipeline
Start with a minimal pipeline that you can customize to build and deploy your code.
Add steps that build, run tests, deploy, and more:
https://aka.ms/yaml
trigger: none
pool:
vmImage: ubuntu-latest
steps:

task: TerraformInstaller@1
inputs:
terraformVersion: 'latest'

task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'init'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
backendServiceArm: 'Azure subscription 1(1)(bf8d4281-83dd-42b3-b885-13278df4489f)'
backendAzureRmResourceGroupName: 'AZTFDO-Storage'
backendAzureRmStorageAccountName: 'aztfdostor'
backendAzureRmContainerName: 'aztfdoblob'
backendAzureRmKey: 'aztfdoblob.state'

task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'validate'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'

task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'apply'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
environmentServiceNameAzureRM: 'Azure subscription 1(bf8d4281-83dd-42b3-b885-13278df4489f)'

=============================================================
whenever i run the pipeline, the error fails during terraform init:

/opt/hostedtoolcache/terraform/1.7.1/x64/terraform init -backend-config=storage_account_name=aztfdostor -backend-config=container_name=aztfdoblob -backend-config=key=aztfdoblob.state -backend-config=resource_group_name=AZTFDO-Storage -backend-config=subscription_id=bf8d4281-83dd-42b3-b885-13278df4489f -backend-config=tenant_id=ebd0b70e-75c8-4904-b36c-5979c95af1e2 -backend-config=client_id=*** -backend-config=client_secret=***
##[error]Error: There was an error when attempting to execute the process '/opt/hostedtoolcache/terraform/1.7.1/x64/terraform'. This may indicate the process failed to start. Error: spawn /opt/hostedtoolcache/terraform/1.7.1/x64/terraform ENOENT
Please can someone advise me where could i be wrong?

Same error here with terraform 1.7.2

Dear gurus,
i have been working on fixing this issue with no luck and i hope i could have some advise here, thank you in advance.
I have a simple yaml file below:
Starter pipeline Start with a minimal pipeline that you can customize to build and deploy your code. Add steps that build, run tests, deploy, and more: https://aka.ms/yaml
trigger: none
pool: vmImage: ubuntu-latest
steps:

task: TerraformInstaller@1
inputs:
terraformVersion: 'latest'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'init'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
backendServiceArm: 'Azure subscription 1(1)(bf8d4281-83dd-42b3-b885-13278df4489f)'
backendAzureRmResourceGroupName: 'AZTFDO-Storage'
backendAzureRmStorageAccountName: 'aztfdostor'
backendAzureRmContainerName: 'aztfdoblob'
backendAzureRmKey: 'aztfdoblob.state'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'validate'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'apply'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
environmentServiceNameAzureRM: 'Azure subscription 1(bf8d4281-83dd-42b3-b885-13278df4489f)'

=============================================================
whenever i run the pipeline, the error fails during terraform init:

/opt/hostedtoolcache/terraform/1.7.1/x64/terraform init -backend-config=storage_account_name=aztfdostor -backend-config=container_name=aztfdoblob -backend-config=key=aztfdoblob.state -backend-config=resource_group_name=AZTFDO-Storage -backend-config=subscription_id=bf8d4281-83dd-42b3-b885-13278df4489f -backend-config=tenant_id=ebd0b70e-75c8-4904-b36c-5979c95af1e2 -backend-config=client_id=*** -backend-config=client_secret=*** ##[error]Error: There was an error when attempting to execute the process '/opt/hostedtoolcache/terraform/1.7.1/x64/terraform'. This may indicate the process failed to start. Error: spawn /opt/hostedtoolcache/terraform/1.7.1/x64/terraform ENOENT
Please can someone advise me where could i be wrong?

This is not an error I have seen before.
I see you are using different Service Connections for init and apply. Is that by design?
There is nothing obviously wrong with the init command shown. If you can trigger the pipeline with diagnostics set, it may provide more insights. You can also set the TF_LOG env var to TRACE if the issue is with the Terraform CLI. See here: https://developer.hashicorp.com/terraform/internals/debugging

Hi Dcarvalho and Jared, Thank you for replying. I am still newbie and self learning on terraform. so:
@dcarvalh04 could you elaborate further on the technical steps? @jaredfholgate it is not by design, i was just simply creating steps and thank you for spotting my mistake. I shall try to align them both.

I was having the same exact issue as you did, even tried a different ubuntu version and a different terraform version. The way I solved it is still mysterious since I haven't done much beside rewriting the yaml pipeline using the built-in UI instead of copy-pasting from the sample code:

Using this "settings" I rewrote my whole config using the built-in editor and then it worked.
Either something wrong on my yaml copy paste either my variables...Can't tell for sure

i am still not having luck despite manually rewriting the terraform init command settings. Would you mind sharing your yaml file with me? (i might be asking too much).

Please help , i am also getting the same error.  do we have to specify the working directory where the terraform files are available?  when i run the command from the agent working directory where the terraform files are available , the command works all fine. but when i run through pipeline it is failing
  - task: TerraformTaskV4@4
    displayName: 'Terraform init'
    inputs:
      workingDirectory: '$(System.DefaultWorkingDirectory)/terraform/environments/test/'
      provider: 'azurerm'
      command: 'init'
      backendServiceArm: 'my connection'
      backendAzureRmResourceGroupName: 'rg'
      backendAzureRmStorageAccountName: 'tfstate'
      backendAzureRmContainerName: 'tfstate'
      backendAzureRmKey: 'test.terraform.tfstate'

Please help , i am also getting the same error. do we have to specify the working directory where the terraform files are available? when i run the command from the agent working directory where the terraform files are available , the command works all fine. but when i run through pipeline it is failing
  - task: TerraformTaskV4@4
    displayName: 'Terraform init'
    inputs:
      workingDirectory: '$(System.DefaultWorkingDirectory)/terraform/environments/test/'
      provider: 'azurerm'
      command: 'init'
      backendServiceArm: 'my connection'
      backendAzureRmResourceGroupName: 'rg'
      backendAzureRmStorageAccountName: 'tfstate'
      backendAzureRmContainerName: 'tfstate'
      backendAzureRmKey: 'test.terraform.tfstate'

Hi
There isn't much to go on here:

What error are you getting?
What does your directory structure look like.
What do you mean by "when i run the command from the agent working directory where the terraform files are available , the command works all fine"? Are you saying it runs fine in the root of your source code where there is no Terraform module?

Thanks

Dear gurus,
i have been working on fixing this issue with no luck and i hope i could have some advise here, thank you in advance.
I have a simple yaml file below:
Starter pipeline Start with a minimal pipeline that you can customize to build and deploy your code. Add steps that build, run tests, deploy, and more: https://aka.ms/yaml
trigger: none
pool: vmImage: ubuntu-latest
steps:

task: TerraformInstaller@1
inputs:
terraformVersion: 'latest'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'init'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
backendServiceArm: 'Azure subscription 1(1)(bf8d4281-83dd-42b3-b885-13278df4489f)'
backendAzureRmResourceGroupName: 'AZTFDO-Storage'
backendAzureRmStorageAccountName: 'aztfdostor'
backendAzureRmContainerName: 'aztfdoblob'
backendAzureRmKey: 'aztfdoblob.state'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'validate'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
task: TerraformTaskV4@4
inputs:
provider: 'azurerm'
command: 'apply'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform-AzureDevOps/TFAZDO'
environmentServiceNameAzureRM: 'Azure subscription 1(bf8d4281-83dd-42b3-b885-13278df4489f)'

=============================================================
whenever i run the pipeline, the error fails during terraform init:

/opt/hostedtoolcache/terraform/1.7.1/x64/terraform init -backend-config=storage_account_name=aztfdostor -backend-config=container_name=aztfdoblob -backend-config=key=aztfdoblob.state -backend-config=resource_group_name=AZTFDO-Storage -backend-config=subscription_id=bf8d4281-83dd-42b3-b885-13278df4489f -backend-config=tenant_id=ebd0b70e-75c8-4904-b36c-5979c95af1e2 -backend-config=client_id=*** -backend-config=client_secret=*** ##[error]Error: There was an error when attempting to execute the process '/opt/hostedtoolcache/terraform/1.7.1/x64/terraform'. This may indicate the process failed to start. Error: spawn /opt/hostedtoolcache/terraform/1.7.1/x64/terraform ENOENT
Please can someone advise me where could i be wrong?

"I am facing the same problem. Could you please provide guidance on resolving it?"

has anyone found a solution for this yet? I am having issues with my own version, pretty similar to the ones shown here, same issue init breaks "backendServiceArm" no found and it is exactly as the one setup, all pipes having permissions to it, it's driving me crazy

Running on Azure DevOps with ubuntu-latest image.
Full yaml file:
azure-infrastructure.txt
Service connection:

Folder structure:
Project folder

.ado
terraform
-- variables

What I see is that between stages the terraform version changes and if you transfer the plan file between then it fails.

Errors

│ Error: Failed to read plan from plan file
│ Cannot read the plan from the given plan file: plan file was created by
│ Terraform 1.9.2, but this is 1.9.3; plan files cannot be transferred
│ between different Terraform versions.

or

│ Error: Failed to read plan from plan file
│ Cannot read the plan from the given plan file: plan file was created by
│ Terraform 1.9.3, but this is 1.9.2; plan files cannot be transferred
│ between different Terraform versions.

Running on Azure DevOps with ubuntu-latest image.
Full yaml file: azure-infrastructure.txt
Service connection:
Folder structure: Project folder

.ado
terraform
-- variables

What I see is that between stages the terraform version changes and if you transfer the plan file between then it fails.
Errors

│ Error: Failed to read plan from plan file
│ Cannot read the plan from the given plan file: plan file was created by
│ Terraform 1.9.2, but this is 1.9.3; plan files cannot be transferred
│ between different Terraform versions.

or

│ Error: Failed to read plan from plan file
│ Cannot read the plan from the given plan file: plan file was created by
│ Terraform 1.9.3, but this is 1.9.2; plan files cannot be transferred
│ between different Terraform versions.

Hi. This error is unrelated to this issue. This can happen when a new agent version is being rolled out. I recommend adding a Terraform Install task step and specifying latest or a pinned version to ensure you have same version on all job runs.

repo: microsoft/azure-pipelines-terraform


text:
Failed to deploy HCIBox: failure when processing extension 'Bootstrap' Missing an argument  for parameter 'spnProviderId'

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
HCIBox
Describe the issue or the bug
The deployment of HCIbox via AZD failed during the :  Creating/Updating resources fase.
Deployment Error Details:
VMExtensionProvisioningError: VM has reported a failure when processing extension 'Bootstrap' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: 'Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'C:\Packages\Plugins\Microsoft.Compute.CustomScriptExtension\1.10.15\Downloads\0\Bootstrap.ps1 : Missing an argument
for parameter 'spnProviderId'. Specify a parameter of type 'System.String' and try again.
   + CategoryInfo          : InvalidArgument: ...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)'. More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot.

TraceID: b81dd39d313a152cd24fdc30f68c7465

To Reproduce

azd auth login
cd .\azure_jumpstart_hcibox\
azd init

Expected behavior
deployement finished successfully
Environment summary
azd version 1.9.0 (commit 651394c3ddcfadff194d177f8b0ddf06fe3752bf)
git: a7da53c52 (HEAD -> main, origin/main, origin/HEAD) Merge pull request #2526 from sebassem/agora_update_base_image_path
Have you looked at the Troubleshooting and Logs section?
yes, no logshave been created under c:\HCIbox

@ewouds When you are in the directory azure_jumpstart_hcibox from a PowerShell session, could you run dir -Recurse -Include .env | Get-Content and check if the output contains a line starting with SPN_PROVIDER_ID=?
If not, did you notice any errors when running azd up?
Specifically on this step:

I just tested on my end, and could not repro - but there could be an issue retrieving the SPN provider id in your environment. Could you run the following to check if the output is similar to mine?
$(az ad sp list --display-name "Microsoft.AzureStackHCI" --output json) | ConvertFrom-Json

SPN_PROVIDER_ID is not provided in the .env file.
This is output
PS C:\Users\ewoudsmets\Desktop\Adaptive Cloud\azure_arc\azure_jumpstart_hcibox> dir -Recurse -Include .env | Get-Content
AZURE_ENV_NAME="ewshcibox"
AZURE_LOCATION="eastus"
AZURE_SUBSCRIPTION_ID="36xxxxxxxxxxxxxxxxxx4e"
JS_DEPLOY_BASTION="True"
JS_RDP_PORT=3389
JS_WINDOWS_ADMIN_USERNAME="arcdemo"
SPN_CLIENT_ID="3bxxxxxxxxxxxxxxxxxxc0"
SPN_CLIENT_SECRET="rAxxxxxxxxxxxxxxxxxxXk"
SPN_TENANT_ID="92xxxxxxxxxxxxxxxxxxb2"

I did receive the following ERROR:
Provisioning Azure resources (azd provision)
ERROR: Insufficient privileges to complete the operation.
Checking for existing stored Azure service principal...
Attempting to create new service principal with scope /subscriptions/36xxxxxxxxxxxxxxxxxxxxxxxx4e...

Thanks, it seems like the azd pre-provisioning script are currently continuing the deployment even if the command to retrieve the SPN_PROVIDER_ID is failing. We will make sure to resolve that, so the script will return a terminating error and not go on with a deployment which will fail due to the missing parameter value.
For your scenario, it seems like the user authenticated in Azure CLI does not have sufficient privileges to query service principals in the tenant.
I would suggest one of the following:

Request access from a tenant administrator to get read-permissions to service principals
Ask a tenant administrator to run the command $(az ad sp list --display-name "Microsoft.AzureStackHCI" --output json) | ConvertFrom-Json and send you the ID from the output. You can then manually add that value to the .env file: SPN_PROVIDER_ID="xxx"

authors: ewouds janegilring


text:
Allow edit of Sqlproj in place and Reload

Sql project should allow righclick open and edit of Sqlproj file and a toast notif for reload after the update.

related for reload : https://github.com/microsoft/azuredatastudio/issues/11047

repo: microsoft/azuredatastudio


text:
Missing dashboard.database.widgets JSON settings

Issue Type: Bug
I am unable to add customized widgets due to lacking dashboard.database.widgets inside settings.json file. After manually inserting following JSON code:
"dashboard.database.widgets": [
    {
        "name": "My-Widget",
        "gridItemConfig": {
            "sizex": 2,
            "sizey": 1
        },
        "widget": {
            "insights-widget": {
                "type": {
                    "count": {
                        "dataDirection": "vertical",
                        "dataType": "number",
                        "legendPosition": "none",
                        "labelFirstColumn": false,
                        "columnsAsLabels": false
                    }
                },
                "queryFile": "path_ommited/activeSession.sql"
            }
        }
    }
]

Azure Data Studio seems to not recognize dashboard.database.widgets line at all. I tried launching ADS both as standard user and administrator, since I was suspecting that when not elevated, ADS could limit its functionalities, but it wasn't the case. I also tried inserting the code in different parts of settings.json, however to no aveil. I also accepted the monit abour preview features appearing after each launch at the bottom right corner, since I thought it might be related to this issue.
Let me know how can I fix this issue. Since I need this tool in my daily work in prod/prep environments, it's really urgent for me to be able to get some data feed visualized.
Best regards,
Jakub Sarnowski
Azure Data Studio version: azuredatastudio 1.8.0 (96e214593190071f0b520439929b218f9fa673de, 2019-06-06T01:59:30.203Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.44GB (1.30GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.1

agent
Mic
0.41.0

cms
Mic
0.3.0

dacpac
Mic
0.4.0

import
Mic
0.9.0

managed-instance-dashboard
Mic
0.3.7

powershell
ms-
2019.5.0

profiler
Mic
0.9.0

server-report
Mic
0.1.5

Update: At some point ADS started to recognize dashboard.database.widgets property, however after inserting code to settings.json, saving and re-connecting to the database, all changes are being removed, so only default settings.json content is in effect. Immune to launching ADS as an administrator.

Hi Jakub, to clarify, did you copy over the dashboard.database.widgets json block in your user settings?

@jsarnowski96 - What settings.json file are you modifying? Are you modifying the file directly or through ADS (by opening the settings UI and clicking Edit in settings.json next to the one of the widget settings)?
Could you walk through the exact steps you're doing that result in the settings file being overwritten and cleared? I'm not able to repro that behavior myself so some more information is needed.

Hi Jakub, to clarify, did you copy over the dashboard.database.widgets json block in your user settings?

Yes, I copied this property directly from Azure Data Studio widget guide and placed it at the end of settings chain.

@jsarnowski96 - What settings.json file are you modifying? Are you modifying the file directly or through ADS (by opening the settings UI and clicking Edit in settings.json next to the one of the widget settings)?
Could you walk through the exact steps you're doing that result in the settings file being overwritten and cleared? I'm not able to repro that behavior myself so some more information is needed.

I'm modifying it via ADS. The exact procedure is below:

Connect to the database X.
Open existing SQL query or create a new one, then connect it to the database X.
Execute the query and create an insight based on the query's output.
Copy the JSON content into dashboard.database.widget property.
Save settings.json
Disconnect from the database X.
Reconnect to the database X.

End result: all changes made in settings.json are being wiped out. Only the core structure of the file remains the same. Whole dashboard.database.widget property disappears.

Update #1 - it seems like after last update this feature started to work to some extent. My custom widgets became persistant within settings.json config file and appear on the dashboard, however some of them returns the message "Error: Query has no results to return" despite testing the query itself and getting required data from the DB. The new thing which started to happen however is that when I click on the "Chart" section of the query's results, I can only see a blank window with no generated chart, table or other kind of object. It's probably the cause of the query error displayed on the widget. I'll keep you posted.

Would you be able to include the SQL query that you're running? And did you verify using Profiler or some other tool that the query is actually being ran against the DB you're intending?

Would you be able to include the SQL query that you're running? And did you verify using Profiler or some other tool that the query is actually being ran against the DB you're intending?

Negative, due to security policy in our company I cannot use Profiler on our production database, although like I said previously, I tested it both via ADS and SMSS and query run correctly and returned expected data. Trust me, I know what I'm doing.

authors: Charles-Gagnon jsarnowski96 yualan


text:
Corrupted .ipynb file

Azure Data Studio Version:  1.12.0-insider (1-Oct daily build)

Steps to Reproduce:

I had a SQL Notebook open in ADS with unsaved changes.
I installed the 1-Oct 2019 Insiders Build, without saving changes.
When ADS restarted, and re-opened the notebook, the notebook appeared to be corrupted, containing a bunch of nonsense characters.

I have not been able to reproduce the issue, and it just happened the one time, but I am pretty confident that this is not the result of me accidentally "keyboard tapping" (ex, if ADS froze & I was trying to wake it up). If that were the case, I'd expect to see a zillion spaces or carriage returns, but not the gibberish in this file.
Attached is a zip file containing the corrupt & repaired .ipynb files. I can't be 100% positive that the "repaired" one is exactly what the file looked like pre-corruption, but it should be very close. Note that the corrupted lines in ReplicationLatency-20191001-corrupt.ipynb are 23-43. Line 255 is also "wrong" though that could have been a typo on my part.
ReplicationLatency.zip

@vickyharp ☝ This is the issue I was talking to you about. Possibly something wonky about my own machine, since I have tried & failed to reproduce this several times in the last week with other Insiders builds. But wanted to log the issue here while details are fresh on my mind.

Potentially fixed by https://github.com/microsoft/azuredatastudio/pull/7497

If it's not clear to others reading this, the corruption follows the pattern of:

Reverse the string
Repeat each character 3 times
Append to the original line

So "ABCDE" becomes "ABCDEEEEDDDCCCBBBAAA"
But as you can see it's not done on every line and in some cases it looks like the original line is missing and only the reversed corrupt string remains.

@amtwo Is what platform are you on? Windows?

@chlafreniere Yes, Windows 10, specifically.

authors: aaomidi amtwo chlafreniere vickyharp


text:
Enable autoflush for STS logs

A problem I've noticed a bunch when looking at the MSSQL logs it that they'll often be incomplete - sometimes only containing part of a log message.
The issue is that currently we write the log messages but don't flush it manually, which means that it only gets written to disk when the buffer fills up (don't know exactly what that value is, but found a couple references to 8KB on stack overflow).
Given that partial logs like this can easily leave out important information (such as the last few things to happen before a crash...) it seems better to me to enable autoflushing so that every message written is immediately written to disk.
There is the issue of possible performance implications, but given the relatively low amount of logging we do I don't see that being a huge issue.
There are a couple other options we could look into if there's concern about the performance though :

Have this be a setting in ADS that users can enable (possibly auto-enabled if the log level is high enough)
If autoflush isn't enabled in STS have a timer that calls flush every so often (5-10sec or so)

Pull Request Test Coverage Report for Build 2235494128

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.244%

Totals

Change from base Build 2234960504:
0.0%

Covered Lines:
27806

Relevant Lines:
61586

💛  - Coveralls

authors: Charles-Gagnon coveralls


text:
Fix table designer reloading when only descriptions are being updated

https://github.com/microsoft/azuredatastudio/issues/20366
ADS Port PR: https://github.com/microsoft/azuredatastudio/pull/20394
https://github.com/microsoft/sqltoolsservice/compare/4.3.0.3...4.3.0.4

Pull Request Test Coverage Report for Build 2884229922

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 41.638%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/book/bookTreeView.ts
2
38.29%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build 2879677606:
-0.01%

Covered Lines:
27873

Relevant Lines:
62365

💛  - Coveralls

authors: caohai coveralls


text:
Nb/open book without reload

Made the following changes to launch book from the dashboard widget:

Removed the prompt to 'Pick Folder' and save books.

On click launch the first markdown/notebook file in the book and expand the book.

Added command to launch the book from command pallet.

Pending items:
Provide a Save Book action.
Make Books it's own viewlet.

merge conflcts, will resolve them and send another.

merged the conflicts.


text:
cert support for python sdk

Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
The botbuilder js/ts and c# sdk already supports cert but python doesn't support yet.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
https://github.com/microsoft/teams-ai/issues/1776

This is coming.  Technically it does have a CertificateAppCredentials, but missing the CertificateServiceClientCredentialsFactory.

authors: tracyboehrer yukun-dong

repo: microsoft/botbuilder-python


text:
Add list of supported decorators to documents

It would be great if there were a documentation page describing the list of supported decorators so these were easily discoverable to Cadl users.  Thanks!
Update, I found this: https://github.com/microsoft/cadl/blob/main/docs/tutorial.md#built-in-decorators, but it doesn't include @header, so wondering how to think about that?

Preferred way:

IDE experience could help with autocompletion and intellisense support.

Open questions, need comprehensive documentation on the list of declarators from different packages.

Once we have signature help (https://github.com/microsoft/cadl/issues/653), you would see all the decorator docs and be able to pick them based on doc with completion after typing @. But we still have to go through and add the documentation to the decorators for signature help to consume.

authors: allenjzhang annelo-msft nguerrera

repo: microsoft/cadl


text:
Function Analysis is not working for x=y

A team member will update this issue with more details soon.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.

repo: microsoft/calculator


text:
Update README.md

Fixes #.
Description of the changes:

How changes were validated:

Thanks for your interest in the project, but we generally do not accept documentation changes unless there are typos or spelling mistakes.


text:
Feature/graphing calculator

Fixes #.
Description of the changes:

How changes were validated:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: gxa2019 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


text:
Creating API contract with Design-first or Code-first Approach

Is your feature request related to a problem? Please describe.
As now days development teams widely use API description formats like Swagger (OpenAPI) to describe an API contracts, which brings a question whether a dev team should design an API contract first or write code first and generate api contract out of it.
Describe the solution you'd like
Add a section in playbook to describe both API development approaches.
Describe alternatives you've considered
Add links of some existing reliable source blog posts within a section in playbook.

@cpeeyush, thanks for your patience while we discussed guidance on where this contribution should go. We now have a new structure brought in as part of PR #678 where we will have a design folder (design fundamental) and within this we will have "design reviews" and "design patterns".
You will also see that there will be some updates to #642 which will be adding the REST API Guidance to the design patterns section in the next few days. Your contributions on laying out aspects to consider and a pros/cons comparison of both Design-first and Code-first Approaches would be very welcome and would fit nicely as a section within the REST API Guidance that @bderusha is working on.
Happy to sync to provide more guidance and will reach out by chat as well!

authors: cpeeyush fnocera


text:
fix(experiments): add ctor to ExperimentDiff

This is needed for JSON deserialization. Also updated the xml docs to follow the "standard" text.+

Can you use the init auto-property to achieve the same effect?

Can you use the init auto-property to achieve the same effect?

Yea, but then you can not ensure that all the properties are non-null, which isn't a problem but just prevents null refs in the future.

authors: JamieMagee melotic

repo: microsoft/component-detection


text:
Add Multiple LogManager support for Privacy Guard

The current implementation of Privacy Guard does not work with multiple log manager scenario.
This change introduces PrivacyGuardState class that holds and maintains the PrivacyGuard shared_ptr. It then conveys the ptr to LogManager_jni or PrivacyGuard_jni as needed. Only the PrivacyGuard initialization and unregister operations are added as LogManager specific, the other operations can still be performed via the PrivacyGuard object directly.

FYI, this change is also updating the modules commit to the latest master commit for modules repo as it contained the warning fixes there.


text:
Force authentication

Can we prevent --allow-anonymous.
We can't use dev tunnels because we cannot have unauthenticated traffic coming in through the firewall.

Group Policies can be used for this on Windows devices - https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/policies

Closing this as stale but please comment to clarify your use case if you continue to see an issue.

authors: derekbekoe mikeblakeuk

repo: microsoft/dev-tunnels


text:
MSBuild is broken in the SDK 4.8 Images

Steps to reproduce the issue

Execute docker run --rm mcr.microsoft.com/dotnet/framework/sdk:4.8-20200211-windowsservercore-ltsc2019 msbuild -version

Expected behavior
The version number of MSBuild appears and the container exits.
Actual behavior
Nothing appears and the container exists
Additional information (e.g. issue happens only occasionally)
The issue can be reproduced currently on the following tags:

4.8-20200211-windowsservercore-ltsc2019
4.8-20200316-windowsservercore-ltsc2019
4.8-20200318-windowsservercore-ltsc2019
4.8-windowsservercore-ltsc2019
4.8

The latest working tag is:
4.8-20200114-windowsservercore-ltsc2019
Output of docker version
Client: Docker Engine - Enterprise
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        2ee0c57608
 Built:             11/13/2019 08:00:16
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Enterprise
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.24)
  Go version:       go1.12.12
  Git commit:       2ee0c57608
  Built:            11/13/2019 07:58:51
  OS/Arch:          windows/amd64
  Experimental:     true

Output of docker info
Client:
 Debug Mode: false
 Plugins:
  cluster: Manage Docker clusters (Docker Inc., v1.2.0)

Server:
 Containers: 18
  Running: 9
  Paused: 0
  Stopped: 9
 Images: 262
 Server Version: 19.03.5
 Storage Driver: windowsfilter (windows) lcow (linux)
  Windows:
  LCOW:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: process
 Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
 Operating System: Windows Server 2019 Standard Version 1809 (OS Build 17763.107)
 OSType: windows
 Architecture: x86_64
 CPUs: 12
 Total Memory: 127.9GiB
 Name: SRV31
 ID: UCM7:GK7L:OKFR:PMHS:5KGB:GW2P:I3T7:Z5P7:QLXI:B4TE:5HRH:BCQ2
 Docker Root Dir: C:\ProgramData\docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  localhost:5000
  127.0.0.0/8
 Live Restore Enabled: false

This is not specific to .NET Framework images but rather is a compatibility issue with the Windows container functionality.  The behavior you're seeing is due to a 32-bit issue that occurs when the Windows version of the container is not compatible with the Windows version of the host.  This is described here: https://support.microsoft.com/en-us/help/4542617/you-might-encounter-issues-when-using-windows-server-containers-with-t.  The resolution to this issue is to ensure your host machine is fully updated to the latest Windows patch.

authors: mkaring mthalman

repo: microsoft/dotnet-framework-docker


text:
I tried your notebook and got an error

I tried your notebook and got the following error:

Charles

Ah, not sure why that error shows up. Can you try running the notebooks again to see if it works? I just tried and it worked for me https://mybinder.org/v2/gh/microsoft/dowhy/master?filepath=docs%2Fsource%2F

I tried your link and selected several notebooks.  This time it worked.  Must have been a gremlin!
From: Amit Sharma notifications@github.com
Sent: Wednesday, March 4, 2020 8:56 AM
To: microsoft/dowhy dowhy@noreply.github.com
Cc: Charles Brauer CBrauer@CypressPoint.com; Author author@noreply.github.com
Subject: Re: [microsoft/dowhy] I tried your notebook and got an error (#116)
Ah, not sure why that error shows up. Can you try running the notebooks again to see if it works? I just tried and it worked for me https://mybinder.org/v2/gh/microsoft/dowhy/master?filepath=docs%2Fsource%2F
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/dowhy/issues/116?email_source=notifications&email_token=AAKBS4X5VVHR7OI7EKPEAXTRF2B3ZA5CNFSM4LBMAURKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENY4NTQ#issuecomment-594659022 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBS4T6QWZLU2MWHQSGJFLRF2B3ZANCNFSM4LBMAURA .  https://github.com/notifications/beacon/AAKBS4V2VOGIFGFDXPZIGJTRF2B3ZA5CNFSM4LBMAURKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENY4NTQ.gif

authors: CBrauer amit-sharma

repo: microsoft/dowhy

license: mit

license_source: bigquery


text:
Fix compilation on Ubuntu 22.04.

This PR fixes compilation errors on Ubuntu 22.04 caused by linkage issues (fix #4).
Please see the commit log for a quick summary of changes.
Notes

I hope I preserved the right semantics with "what to extern" vs. "what to split into its own global variable", but you should probably check.
Additionally, y.tab.c and y.tab.h are build-time files that have been checked into source control. They changed because I am using a slightly newer version of Bison (you use 3.5.1, I use 3.8.2). Do you want them in the PR?

 code/tools/y.tab.c | 1114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------
 code/tools/y.tab.h |  120 ++++++++------
 2 files changed, 554 insertions(+), 680 deletions(-)

Thanks!

@microsoft-github-policy-service agree

repo: microsoft/dsb


text:
Allow dependency injection in orchestrations

DurableTaskRegistry allows DI in activities but not in orchestrations. This doesn't seem like a technical limitation, as the internal Orchestrators dictionary uses a delegate that accepts IServiceProvider. Would it be possible to fix this gap by adding overloads to the registry class?

@jviau The 2 you mentioned are probably the most common for us as well. But I would make this configurable.

Can you expand on this?

I meant that the restricted DI container should have an extensibility point, that is allow users to register other elements to it, in addition to the safe defaults.

contextual information we need is not ready until after the TaskOrchestrator has already been constructed

Can you explain what contextual information you're referring to?

Can you explain what contextual information you're referring to?

To accomplish the two examples I mentioned (replay safe ILogger, snapshotted IOptions), we need access to the TaskOrchestrationContext, but that is not constructed until after the TaskOrchestrator is. So as is there is no way for us to accomplish this without flipping that construction order, which is a fairly deep refactor required. This high cost makes the feature less attractive, at least until we have another justification for investing in that refactor.

I also want to add the caveat that we should not focus solely on DI as a solution here. I would reframe the problem we are looking to solve as:

Provide an improved experience for interacting with select services within an orchestrator.

A specialized DI container may be one way to do this, but this might be too opaque / hard to debug for customers. Is it a good idea to give a restrictive DI experience? Or should we instead focus on important services, like ILogger and IOptions and see if we can provide better ways to interact with those from within an orchestrator. ILogger does already have a way to do that, you can get a logger from the context.

authors: aelij jviau

repo: microsoft/durabletask-dotnet


text:
enable resume and suspend

Issue describing the changes in this PR
Support resuming and suspending orchestration.
Pull request checklist

[ ] My changes do not require documentation changes

[X] Otherwise: Documentation issue linked to PR

[X] My changes are added to the CHANGELOG.md
[X] I have added all required tests (Unit tests, E2E tests)

Additional information
Additional PR information
Test on local works fine with DF extension 2.9.3, right now the fully released extension build is 4.4.0 which contains DF extension 2.9.2. Waiting for the next extension bundle fully released then this PR should succeed on CI and can be merged.

The end2end test shall pass once the extension bundle 4.6.0 is released. Validate the end2end test on local.

Yeah, we already created it here https://github.com/microsoft/durabletask-java/issues/105

repo: microsoft/durabletask-java


text:
general helper NPI provider does not provide function prototype data (and other issues)

the NPI modules in eBPF core and netext has several issues. This issue is used as a placeholder for tracking all these.

[x]  Global helper NPI provider in EC (for map functions) dont provide the prototype information. They are obtained from the net ebpf extension's provider modules.
[x] In interpreter case (load_byte_code) program type specific helper function addresses are not loaded. Only the global ones are loaded.
[x] net ext uses ebpf_provider_load wrapper functions defined in ebpf core. This complicates the code as provider modules pass data unnecessarily. e.g. hook provider maintains a local_registration->provider_data which is not required etc. These APIs are simply wrappers over NMR and adds no value to net_ext modules. IMO this code needs to be cleaned up.

This issue can now be closed.

repo: microsoft/ebpf-for-windows


text:
Issues accesing Teams with Deletated scenario

Hi there,
I have configured my ogle migration app with the Delegated scenario. In the app registration I have entered the https://localhost, as er documentation.
When I try to sign in into Teams, to get the M365 Edu credentials, I receive an error:
AADSTS50011: The redirect URI 'http://localhost:53299' specified in the request does not match the redirect URIs configured for the application '80dd4d77-a15d-4437-bc42-83127fc454b3'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

... if I remove the localhost from RedirectURi I got: AADSTS500113: No reply address is registered for the application.

Hey @gabrielantohi, the redirect url must the match including the port number.
Feel free to reach out the assignments team directly for any further issue regarding google importer tool

authors: cristobal-buenrostro gabrielantohi

repo: microsoft/edu-assignments-graph-sdk


text:
Support conditional updates

User story
As a [source] FHIR-server that needs to sync FHIR resources to target FHIR-servers, I want to be able to update resources in the microsoft-FHIR server - using identifiers, not having to use ids. The benefit is that the the source is not required to store the ids returned by microsoft/fhir server.
Acceptance criteria

When I do http PUT [base]/Condition?identifier=system|code,
then the relevant FHIR resource is updated from the FHIR resource in the request body

Thanks! Best regards, Joerg Mehlbrech

We had it on our issue list internally, but did not document it on our roadmap on GitHub.
We are planning to support this in the future.
Thank you
Matjaz

I would estimate in next 6 months we should have support for it. Stay tuned.

Hi @matjazl,
Has this been done yet by any chance? Doesn't seem so?

Hi @courtenayparserr,
We are working on it. Don't have an ETA yet.

@brendankowitz should this issue now be closed?

Yes, closing as this has been verified //cc @namadabu

authors: brandonpollett brendankowitz courtenayparserr hansenms jmehlbrech matjazl

repo: microsoft/fhir-server


text:
[Improve Usability] BadgeView textColor needs to be an Objc property.

Environment Information

Platform:

[ ] iOS

Please provide a reproduction of the bug:
--> I am using BadgeView in my project where I can change the text color and background color of the badge in swift file but I cannot do the same for Objc code as label text color is not compatible with Objc code.
open var labelTextColor: UIColor?
Actual behavior:
Need to update the property.
Expected behavior:
@objc open var labelTextColor: UIColor?
Priorities and help requested:
Are you willing to submit a PR to fix?
Yes - I will send a fix for this.
Requested priority: (Blocking)
I need this behaviour immediately.
Products/applications affected: (if applicable)
Microsoft Office.

Created a pull request against this: https://github.com/microsoft/fluentui-apple/pull/712

repo: microsoft/fluentui-apple