azure

Azure DevOps Permissions for Individual Repositories

北城余情 提交于 2021-02-11 05:18:51
问题 Let's say I have created a new project (MyProject) on ADO. In it, I have 2 repositories (MyRepo1 and MyRepo2). I would like to invite another user to contribute code to MyRepo1, but don't want them seeing MyRepo2. How can this be done? I have tried creating a team (Team1) for MyRepo1 and adding the user to that team. However, they still cannot see anything in ADO under my project. If I add them to the default team of the project, they can see all the repos (bad). This is how I set up Team1:

How to write a secret to azure key vault from Azure DevOps pipeline?

£可爱£侵袭症+ 提交于 2021-02-11 04:56:31
问题 I have created a Key Vault in Azure DevOps using ARM and I now want to write a secret to it within the same pipeline. I created an Azure PowerShell task with the following inline PowerShell: $secretvalue = ConvertTo-SecureString $(Secret) -AsPlainText -Force Set-AzureKeyVaultSecret -VaultName $(VaultName) -Name $(SecretName) -SecretValue (ConvertTo-SecureString $(Secret) -AsPlainText -Force) The key vault gets created fine, but I get the following error when trying to write the secret: [error

Windows Azure Website and static html in Blob storage

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 04:41:55
问题 So I have a .NET MVC app published in an Azure Website which should serve static html pages stored in a blob container when clicking on a corresponding hyperlink. My questions are: The way to access a blob in Azure is https://blobtest.blob.core.windows.net/container/htmlpage1.html, however the peculiar part is when I login into my Azure Site and the url is something like: http://azuretestwebapp.azurewebsites.net/user123 and if I click on a hyperlink to my html blob it can't help but normally

Windows Azure Website and static html in Blob storage

只谈情不闲聊 提交于 2021-02-11 04:40:10
问题 So I have a .NET MVC app published in an Azure Website which should serve static html pages stored in a blob container when clicking on a corresponding hyperlink. My questions are: The way to access a blob in Azure is https://blobtest.blob.core.windows.net/container/htmlpage1.html, however the peculiar part is when I login into my Azure Site and the url is something like: http://azuretestwebapp.azurewebsites.net/user123 and if I click on a hyperlink to my html blob it can't help but normally

azure devops pipeline CopyFiles@2 task copy's files from agent A but DownloadBuildArtifacts@0 downloads the files to agent B

寵の児 提交于 2021-02-11 02:24:59
问题 i have wired behavior with the copy files from hosted agent and then downloading them back to the same agent looks like it copies the files from agent A but the same pipeline downloading them back to Agent B with is in another machine doing another build job that is not related Upload from ios_docker_142_linux_slave_1 Download back to different agent ios_docker_141_linux_slave_3 , why ? - task: CopyFiles@2 inputs: CleanTargetFolder: 'true' SourceFolder: '$(Agent.HomeDirectory)/../${

What aspect of Azure App Service determines the elapsed time limit?

时间秒杀一切 提交于 2021-02-11 00:22:27
问题 What in Azure App Service determines the elapsed time limit? The controller method... [Route("service")] [HttpPost] public Outbound Post(Inbound inbound) { Debug.Assert(inbound.Message.Equals("Hello server.")); Outbound outbound = new Outbound(); long Billion = 1000000000; for (long i = 0; i < 30 * Billion; i++) // 215 seconds ; outbound.Message = String.Format("The server processed inbound object."); return outbound; } The client side... static void Main(string[] args) { Post().GetAwaiter()

What aspect of Azure App Service determines the elapsed time limit?

╄→гoц情女王★ 提交于 2021-02-11 00:22:26
问题 What in Azure App Service determines the elapsed time limit? The controller method... [Route("service")] [HttpPost] public Outbound Post(Inbound inbound) { Debug.Assert(inbound.Message.Equals("Hello server.")); Outbound outbound = new Outbound(); long Billion = 1000000000; for (long i = 0; i < 30 * Billion; i++) // 215 seconds ; outbound.Message = String.Format("The server processed inbound object."); return outbound; } The client side... static void Main(string[] args) { Post().GetAwaiter()

Login with personal Microsoft accounts failes to Oauth2 v2

纵然是瞬间 提交于 2021-02-10 23:12:10
问题 I did register a new Application on portal.azure.com with my Office365 company account to Access the GraphAPI. While authentication is working for users from our own domain (the one registered with O365), I keep getting an error for users from personal Microsoft accounts (outlook.com or live.com). I did setup the Application to support 'All Microsoft account users'. This is the Manifest { "id": "valid-uid", "acceptMappedClaims": null, "accessTokenAcceptedVersion": 2, "addIns": [],

Login with personal Microsoft accounts failes to Oauth2 v2

大城市里の小女人 提交于 2021-02-10 23:06:11
问题 I did register a new Application on portal.azure.com with my Office365 company account to Access the GraphAPI. While authentication is working for users from our own domain (the one registered with O365), I keep getting an error for users from personal Microsoft accounts (outlook.com or live.com). I did setup the Application to support 'All Microsoft account users'. This is the Manifest { "id": "valid-uid", "acceptMappedClaims": null, "accessTokenAcceptedVersion": 2, "addIns": [],

Dismiss Security Center Alert using Graph API

限于喜欢 提交于 2021-02-10 22:21:35
问题 I have already looked into some of the answers but didn't find the right solutions. Is there any way we can dismiss the alert in Azure Security Center using Microsoft Graph API or by any other means. I don't want to suppress any rule. I simply want to dismiss the alert. I have looked into some of the Microsoft documentation but didn't the way to achieve this. Please let me know if anybody knows how to do that. Thanks! 回答1: Sure. As most Azure Services do, there is an Api for Security Center