Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

How to report on a users sign in activity and manager using Get-MgUser

I need to write a PowerShell script to report on a users sign in activity both interactive and non-interactive and include who their line manager is as well. The end goal is to use my app registration ...
Bradley's user avatar
  • 13
0 votes
0 answers
33 views

When trying to publish linux function app packages using Publish-AzWebApp powershell command it is not uploading

I tried publishing app multiple times using bellow command on both windows and linux, it was working fine. However, from last few days after migrating function app from dotnet 6 isolated to dotnet 8 ...
Saburi's user avatar
  • 1
0 votes
3 answers
63 views

Getting error while trying to disable Azure DevOps pipeline using Powershell

I am trying to disable a build pipeline on Azure DevOps using Powershell but getting an error Script: $project = "<Project-Name>" $organization = "<Org-Name>" $pat = &...
Mudit Balooja's user avatar
2 votes
1 answer
67 views

Get-MgGroupMember by display name instead of userID

I am currently in the process of replacing an old script that used Exchange Online Powershell. The old script was very simple and only performed 2 tasks. Downloaded user photos that had custom ...
Qwenton's user avatar
  • 23
1 vote
1 answer
53 views

Azure DevOps REST API parent relation link to existing work item error

I am attempting to utilize the Azure DevOps REST API to create and/or update a work item in Boards to allow adding a Parent link. So far this is unsuccessful. and its creating an error... Invoke-...
trentR's user avatar
  • 13
1 vote
1 answer
77 views

How to use secrets in Azure DevOps Powershell script task

I have a secret in a Azure keyvault which basically stores 1 command az login --service-principal -u ... I am trying to call this secret in a simple Powershell Task but when I run the pipeline every ...
Mudit Balooja's user avatar
0 votes
1 answer
46 views

Running PowerShell script in all Azure subscriptions

I have a reference script below from (stackoverflow) which will fetch the storage account container details. it will output the subscription, storageaccount, container name and RG name. Connect-...
sudhir karamchand's user avatar
-1 votes
1 answer
54 views

Azure DevOps server audit logs [closed]

I am trying to retrieve audit logs for specific group membership changes between May 2023 and May 2024 from our Azure DevOps Server. From my research, it seems that the auditing feature available in ...
RICHARD 's user avatar
1 vote
1 answer
46 views

Using Azure System Assigned Managed Identity with Exchange Online

I have an Azure VM with the Exchange.ManageAsApp Permission, and also Entra ID Security Administrator and Compliance Administrator permissions. However, when I attempt to connect to Exchange online ...
Ross's user avatar
  • 21
1 vote
1 answer
47 views

How to get list of users from CSV file whose LastSignInDate column has a date that is before 90 days from current date or is empty?

I have the below PowerShell Code which returns the list of my active users along with their LastSignInDate and some of them as blank value in LastSignInDate column. Like shown below, I want to further ...
SRP's user avatar
  • 1,103
0 votes
1 answer
100 views

No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'

Not able to install any MicrosoftPowerBIMgmt packages in azure release pipeline. No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'. Try Get-...
Shahid Sayyed's user avatar
1 vote
1 answer
65 views

Grant access to managed identity service principal - Microsoft Graph PowerShell

I'm trying to connect to Microsoft Graph using a User Managed Identity(UMI). I created the managed identity through the Azure portal, but now need to assign permissions like Users.Read.All and Group....
L S's user avatar
  • 15
0 votes
2 answers
92 views

Rename SharePoint site with Graph API or REST

I am looking for the ability to programmability change the name of a sharepoint site with either Graph API or SharePoint REST (or related powershell modules) I have tried "Set-PnPWeb" this ...
endothermic's user avatar
0 votes
1 answer
60 views

Powershell script working in ISE, but not working in Azure Runbook

I have a powershell script as follows: $headers = @{} $headers.Add('ApiKey','xxx') $file = 'xxx.zip' Invoke-WebRequest "https://myurl/Export/" -Headers $headers -Outfile $file This works ...
Jeremy Reynolds's user avatar
0 votes
1 answer
57 views

Unable to create Win11 VM with OS Image under 126GB

My goal is to create a Win11 image in Azure with a OS disk size of 80GB (so it can be used as an image for AWS Workspace). I can see that the UI in Azure does not let me create a VM with a disk size ...
degan93's user avatar

15 30 50 per page
1
2 3 4 5
413