![]() |
Error generating XML file |
Post Reply
|
| Author | |
jensskov
Newbie
Joined: 22 Feb 2024 Location: Denmark Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: Error generating XML filePosted: 22 Feb 2024 at 4:10pm |
|
Hi
I'm trying to run the ps-script to generate the XML tile. But I'm getting some errors. Can anyone help me get past them? InvalidOperation: C:\Users\js\Downloads\Save-AzureADUser.ps1:30 Line | 30 | Catch [Microsoft.Open.Azure.AD.CommonLibrary.AadNeedAuthenticationExc … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Unable to find type [Microsoft.Open.Azure.AD.CommonLibrary.AadNeedAuthenticationException]. Get-AzureADTenantDetail: C:\Users\js\Downloads\Save-AzureADUser.ps1:41 Line | 41 | $Tenant = Get-AzureADTenantDetail | ~~~~~~~~~~~~~~~~~~~~~~~ | The term 'Get-AzureADTenantDetail' 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. |
|
![]() |
|
jensskov
Newbie
Joined: 22 Feb 2024 Location: Denmark Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Feb 2024 at 4:17pm |
|
I have
ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Binary 2.0.2.182 AzureAD Desk
|
|
![]() |
|
Support
Moderator Group
Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1941 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Feb 2024 at 1:56pm |
|
Hi,
Please run the Save-AzureADUser.ps1 script directly from a PowerShell console and not from PowerShell ISE. Many thanks, Support.
|
|
![]() |
|
jensskov
Newbie
Joined: 22 Feb 2024 Location: Denmark Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Mar 2024 at 12:00pm |
|
I'm quite certain that I did run it from a PS console.
|
|
![]() |
|
Support
Moderator Group
Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1941 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Mar 2024 at 12:17pm |
|
Hi,
If you still have a problem, please can you contact us at Support with more information. Many thanks, Support.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |