Forum Widgets
Latest Discussions
update variable value in pipeline definition [Azure DevOps]
I'm having a problem with updating my Azure DevOps pipeline variable values by using powershell script. I'm trying to use syntax I've found in documentation: Write-Host "##vso[task.setvariable variable=var1;]newValue" The problem is that I don't see any error, and whatever value I use here, it's not updating my variables in pipeline definition. However, new value is available temporary in environment variables inside this particular script, but I was expecting it will store new value in pipeline definition permanently. Is my understanding correct? Or maybe there is some permission issue on our side, that powershell script is not allowed to update pipeline?Damian_Pytel_VFJul 03, 2020Copper Contributor43KViews0likes1CommentHow to add app role to using powershell to service principal
Hi All, I would like to add app roles to my service principal in Azure AD.Sagar_LadMay 28, 2020Brass Contributor9.7KViews0likes1CommentGit Submodule Update failed
Hi, I'm having a problem with running my Azure DevOps pipeline. A failure happened after the main repository had been cloned and then trying to clone the submodules. This is the error log "remote: TF401019: The Git repository with name or identifier adrcommon does not exist or you do not have permissions for the operation you are attempting." The submodules are contained in the same project and they are added by using URL relative to the main repository. The pipeline was working well, the last success build was on last Friday, but now it gives the error. I also checked the permissions of the build service, it seems okay, no one changed the permissions. And the other pipelines with no submodules in the same project are working ok. Any ideas? Thanks! NickadrielyJul 14, 2020Copper Contributor7.7KViews0likes1CommentPowerShell subscription
Hi, I am sorry to ask so newbie question but I start studying Azure just now. I bought a course and I got tuck at the first lesson. I want to open PowerShell window in Azure but it tells me this: No valid subscriptions found You need an Azure subscription to use Azure cloud Shell. It is interesting because the company which I work at, has Office 365, Azure AD, etc. subscriptions. I do not know whether this subscription is free or we have to pay for it later. Can someone help me, please?SolvedshatvaniSep 29, 2023Copper Contributor6.2KViews0likes3CommentsAnyone have ideas on how I can use ADF to compare two files?
I have a scenario where I need to compare two blob files to see if their contents have changed and take action if they have. I tried this in Power Automate/Logic Apps, but the files can be around 130+ MB, which isn’t supported natively as the files have to then be chunked. Is it possible to do this in ADF prior to copying data to a sink?RahtsetDec 18, 2021Copper Contributor5.7KViews0likes1CommentNeed help with --query parameter in Azure CLI
Hi all! We've used the Az CLI sometimes to view log streams from App Service web apps. This works ok-ish, like so: az webapp log tail --name some-demo-app --resource-group some-demo-rg But we're pretty stuck with how to filter the results. There's a ton of stuff streamed that we're not interested, so we'd like to just filter - as in grep or whatever - the results. The documentation (https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest#az_webapp_log_tail) is... lacking, to be polite: it mentions the "--query" parameter and has a link to JMespath website, but darned if I can figure out how to use it in this case. I understand (well, sorta) how the JMespath stuff works on JSON objects, but the "webapp log tail" returns just simple strings. How can I filter on strings on the output strings? I feel like I'm trying to do something too simple here... 😉 Any ideas welcome!Antti_KurenniemiMar 01, 2021Copper Contributor4.2KViews0likes3CommentsInstall Azure AD Connect when Azure AD Connect Cloud sync is already set
Hi, Quick question here. I need to enable Hybrid Azure AD joined devices and for this I follow this procedure: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-hybrid-azure-ad-join#managed-domains As I already have Azure AD Connect Cloud sync setup for my environment (and knowing that it does not support devices), can I install Azure AD Connect now and set it up as required? Thanks for your feedback guys. Regards, DomSolvedDomAnnicetteJun 28, 2023Brass Contributor3.6KViews0likes4CommentsLogic Apps: Value mapping (key-value pair) - XML Transformation
Hi all, I have just started with Logic Apps. My first app is running. It contains a XML transformation (XSLT3). Within the XSLT I have to map some values. My first approach was to put this mapping values as xsl:map into the stylesheet. Works fine. Actually, I want this part to be more flexible. I am looking for something where I can store the value mapping table, which can be easily changed, e.g. a separate XML which will be passed to the XSLT (xsl:params) or parameters from the app. I was wondering if you can point me to the right direction what can be used for that. Thank you in advance SebsraspApr 22, 2020Copper Contributor3.2KViews1like0CommentsAzure Powershell Script for Group Based Roles PIM ?
Does anyone have a good poweshell script to enable Groups Role Based Access in PIM in Azure?romanmenschApr 24, 2023Copper Contributor3KViews0likes3CommentsCan we run azure functions locally in VSCode without admin rights
Whenever I tried to debug the azure functions locally in vscode, a dialog box appears and it asks to install azure function core tools. After installing, it throws an error as Unable to import azure.functions pylint(import-error). When I tried to debug one more time without modifying anything, it is asking to install azure function core tools again. I don't understand why it is asking multiple times to install azure function core tools and also also why it is throwing error as could not import azure.functions. Please help on this. I am trying the above steps as a local user. If I tried to do using admin user, it is working.Jegatheesan2011Jan 21, 2020Copper Contributor2.6KViews0likes0Comments