diff --git a/2-WebApp-graph-user/2-1-Call-MSGraph/AppCreationScripts/Configure.ps1 b/2-WebApp-graph-user/2-1-Call-MSGraph/AppCreationScripts/Configure.ps1 index 090ba4a1..5d70e3ed 100644 --- a/2-WebApp-graph-user/2-1-Call-MSGraph/AppCreationScripts/Configure.ps1 +++ b/2-WebApp-graph-user/2-1-Call-MSGraph/AppCreationScripts/Configure.ps1 @@ -5,6 +5,8 @@ param( [string] $tenantId ) +#Requires -Modules AzureAD -RunAsAdministrator + <# This script creates the Azure AD applications needed for this sample and updates the configuration files for the visual Studio projects from the data in the Azure AD applications. @@ -248,4 +250,4 @@ if ((Get-Module -ListAvailable -Name "AzureAD") -eq $null) { Import-Module AzureAD # Run interactively (will ask you for the tenant ID) -ConfigureApplications -Credential $Credential -tenantId $TenantId \ No newline at end of file +ConfigureApplications -Credential $Credential -tenantId $TenantId