Connect-AzureAD: /Users/zach/Desktop/MultiTenantTemp/Setup-B2CMultiTenant.ps1:115
Line |
115 | Connect-AzureAD -TenantId $settings.b2cTenant -AccountId $azure.Accou …
| ~~~~~~~~~~~~~~~
| The term 'Connect-AzureAD' is not recognized as a name of a cmdlet, function, script file, or
| executable program. Check the spelling of the name, or if a path was included, verify that the
| path is correct and try again.
Get-AzureADCurrentSessionInfo: /Users/zach/Desktop/MultiTenantTemp/Setup-B2CMultiTenant.ps1:116
Line |
116 | $b2c = Get-AzureADCurrentSessionInfo -ErrorAction stop
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The term 'Get-AzureADCurrentSessionInfo' is not recognized as a name of a cmdlet, function, script
| file, or executable program. Check the spelling of the name, or if a path was included, verify
| that the path is correct and try again.
...
When I run the
Setup-B2CMultiTenant.ps1
script I receive many errors along the lines of the following. I've also installed all the required modules from https://github.com/mrochon/b2csamples/tree/master/Scripts/MultiTenant#install-required-powershell-modules. It seems like I'm missing another module, or a module needs imported?Any help would be greatly appreciated!