How to change the "Enabled for users to sign in" Property of Enterprise Apps using a Powershell script

Ciaran Mallory 21 Reputation points
2024-03-25T13:20:00.6966667+00:00

Hi all,

I am trying to develop a Powershell script that will change the "Enabled for users to sign in" property of enterprise apps to No but I am running into difficulties in finding a method to do this using Powershell. Have tried multiple commandlets and none have worked. Wondering if anyone has any suggestions or has implemented something similar before. The goal of this is to use a Powershell script to disable a list of unused Azure apps so that users cant sign in. Thanks in advance.

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,517 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.