Stephen Weatherford (MSFT)

Results 436 comments of Stephen Weatherford (MSFT)

Will need to add code on our side for the moment to allow a user to select a tenant to sign into if we can't find subscriptions. Also need a...

Work-around: If you run into the error “No subscriptions found.” In the output window, please let me know, and then try this work-around: Install the “Azure Resources” extension, go to...

@CloudCees Sorry, it's been hard getting time for it. Is this affecting you badly?

@CloudCees Please note, this bug is referring to Visual Studio, not Visual Studio Code. If you're seeing problems in Visual Studio Code, please enter a new bug with repro steps....

This is quite confusing. Bicep uses AzureCliCredential, which makes a call to "az account get-access-token --output json --resource https://management.azure.com", which in turn calls into python via az.cmd: ..\python.exe -IBm azure.cli...

From both "az bicep restore" CLI and vscode, the delay from starting python and the code running is only 1-2 seconds.

![Image](https://github.com/user-attachments/assets/a0371f48-7f77-4a75-9eaa-9e13622203be) ntoskrnl.exe!KeSynchronizeExecution+0x8136 ntoskrnl.exe!KeLowerIrql+0x1a05 ntoskrnl.exe!KeLowerIrql+0x2e27 ntoskrnl.exe!KeWaitForSingleObject+0x256 ntoskrnl.exe!ExReleasePushLockSharedEx+0x9d ntoskrnl.exe!KeUserModeCallback+0x35c ntoskrnl.exe!CmCallbackGetKeyObjectID+0x9c30 ntoskrnl.exe!setjmpex+0x9115 ntdll.dll!ZwQueryInformationFile+0x14 KERNELBASE.dll!SetFilePointerEx+0xbb ucrtbase.dll!fputc+0x2ad ucrtbase.dll!fseeki64+0xee ucrtbase.dll!lseeki64+0x28 python312.dll!PyThread_allocate_lock+0x474 python312.dll!PyThread_allocate_lock+0x15f python312.dll!PyUnicode_InsertThousandsGrouping+0x7a8 python312.dll!PyObject_VectorcallMethod+0xab python312.dll!PyThread_allocate_lock+0x87c python312.dll!PyThread_allocate_lock+0x81d python312.dll!PyThread_allocate_lock+0x682 python312.dll!PyThread_allocate_lock+0x5ab python312.dll!PyObject_Vectorcall+0x427 python312.dll!PyObject_CallFunction_SizeT+0xdf python312.dll!PyObject_CallFunction_SizeT+0x48 python312.dll!PyObject_CallMethod+0x58a python312.dll!PyOS_FSPath+0x1d6 python312.dll!PySet_Add+0x60e python312.dll!PyObject_Vectorcall+0xcf python312.dll!PyObject_CallFunction_SizeT+0xdf...

Don't think it's waiting for user input because it generally succeeds after a while. Not a run-in-parallel issue like https://github.com/Azure/azure-sdk-for-net/issues/27722 because it repros with only a single restore. Admin settings...

It does seem pretty consistent that it *does* succeed, even if it's long. Longest I've seen so far is 160s (2.7min). I hate increasing timeout for that long if it's...