pnp / provision-assist-m365

Provision Assist is a request and provisioning solution for Teams, Groups, SPO Sites and Viva Engage Communities in Microsoft 365.
MIT License
58 stars 7 forks source link

Unable to create Azure AD App #10

Open rahulsnc3it opened 11 months ago

rahulsnc3it commented 11 months ago

Description

aunching Azure sign-in... az : WARNING: A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with az login --use-device-code. At C:\provision-assist-m365-Latest\Source\Scripts\createazureadapp.ps1:133 char:13

image

Steps to reproduce

1.Execute createazureadapp.ps1 file 2. 3.

Expected results

App should have been created in Azure AD

Actual Results

image

Solution component

Deployment Script

Operating system (environment)

Windows

Additional Info

Unable to execute createazureadapp.ps1 powershell

adam1309 commented 10 months ago

Commenting ConvertFrom-Json solved it for me $app = az ad app list --filter "displayName eq '$appName'" #| ConvertFrom-Json

alexc-MSFT commented 9 months ago

@adam1309 do you have a screenshot of the error where it failed to create the app? The error above appears to be a warning from the Az PowerShell. Thanks