ForensiT Homepage
Forum Home Forum Home > ForensiT Support > Domain Migration
  New Posts New Posts RSS Feed - Error generating XML file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error generating XML file

 Post Reply Post Reply
Author
Message
jensskov View Drop Down
Newbie
Newbie


Joined: 22 Feb 2024
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jensskov Quote  Post ReplyReply Direct Link To This Post Topic: Error generating XML file
    Posted: 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.
Back to Top
jensskov View Drop Down
Newbie
Newbie


Joined: 22 Feb 2024
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jensskov Quote  Post ReplyReply Direct Link To This Post Posted: 22 Feb 2024 at 4:17pm
I have
ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Binary     2.0.2.182             AzureAD                             Desk
Back to Top
Support View Drop Down
Moderator Group
Moderator Group


Joined: 09 Nov 2006
Location: United Kingdom
Status: Offline
Points: 1860
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jensskov View Drop Down
Newbie
Newbie


Joined: 22 Feb 2024
Location: Denmark
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jensskov Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 2024 at 12:00pm
I'm quite certain that I did run it from a PS console. 

Back to Top
Support View Drop Down
Moderator Group
Moderator Group


Joined: 09 Nov 2006
Location: United Kingdom
Status: Offline
Points: 1860
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.113 seconds.