timmcmic / DLConversionV2

MIT License
43 stars 9 forks source link

unbale to run start-collectOnPremSendAs #115

Closed lsborroto12 closed 1 year ago

lsborroto12 commented 1 year ago

I run: Install-Module dlconversionV2 Import-Module dlconversionV2 import-module exchangeonlinemanagement update-module DLCONVERSIONV2 update-module PSLogging SET-EXECUTIONPOLICY UNRESTRICTED

Error: Creating the powershell to server that requires import. WARNING: Your connection has been redirected to the following URI: "https://exc.ftc365.club/PowerShell-LiveID?PSVersion=5.1.17763.2867 " New-PSSession : [exc.ftc365.club] Connecting to remote server exc.ftc365.club failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.6.3\New-PowershellSession.ps1:110 char:34

timmcmic commented 1 year ago

Can you send me the full log please?

From: lsborroto12 @.> Sent: Thursday, February 9, 2023 1:02 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] unbale to run start-collectOnPremSendAs (Issue #115)

I run: Install-Module dlconversionV2 Import-Module dlconversionV2 import-module exchangeonlinemanagement update-module DLCONVERSIONV2 update-module PSLogging SET-EXECUTIONPOLICY UNRESTRICTED

Error: Creating the powershell to server that requires import. WARNING: Your connection has been redirected to the following URI: "https://exc.ftc365.club/PowerShell-LiveID?PSVersion=5.1.17763.2867https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexc.ftc365.club%2FPowerShell-LiveID%3FPSVersion%3D5.1.17763.2867&data=05%7C01%7Ctimmcmic%40microsoft.com%7C8fa344495a6045f7682d08db0ac7c8d9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115625406647847%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vbgv%2FAPxarl6%2FLFj5X2IXSu%2Bb%2FiHoAJKYgMETEtb5i4%3D&reserved=0 " New-PSSession : [exc.ftc365.club] Connecting to remote server exc.ftc365.club failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.6.3\New-PowershellSession.ps1:110 char:34

lsborroto12 commented 1 year ago

OnPremSendAsPermissions.log

I added the logs, thankss

timmcmic commented 1 year ago

So based on your previous email it appears that when you're specifying the on premises exchange server information you're somehow being redirected to a powershell live directory somewhere else - that does not match much sense.

Try this - for the exchange sever name use the FQDN of an internal server name and set the exchange authentication method to Kerberos.

Tim

From: lsborroto12 @.> Sent: Thursday, February 9, 2023 1:44 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] unbale to run start-collectOnPremSendAs (Issue #115)

OnPremSendAsPermissions.loghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Ffiles%2F10700499%2FOnPremSendAsPermissions.log&data=05%7C01%7Ctimmcmic%40microsoft.com%7C4db6416e16754ec1ff8708db0acda02b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115650500488355%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sRi1haXxPUimwgRiS5xAtMMkdBwFqNbb8YXMGnv53Og%3D&reserved=0

I added the logs, thankss

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F115%23issuecomment-1424656251&data=05%7C01%7Ctimmcmic%40microsoft.com%7C4db6416e16754ec1ff8708db0acda02b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115650500488355%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A12pGf%2FJy%2FXMmvDhmoOS0irYmnhKUfWcpY%2BY2ZZCNL4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6KHMPOF67VELXM3CGDWWU3HNANCNFSM6AAAAAAUW3TNZU&data=05%7C01%7Ctimmcmic%40microsoft.com%7C4db6416e16754ec1ff8708db0acda02b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115650500488355%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ewz5Rf4bzM2H%2B3ADD%2BMSfpbO%2BOeY4MAseYlKDgPOpnI%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

lsborroto12 commented 1 year ago

thanksss, it is collecting now.

timmcmic commented 1 year ago

Something is definitely up with that redirect URL - my guess is that someone has taken you're namespace and pointed it to office 365 for that.

Tim

From: lsborroto12 @.> Sent: Thursday, February 9, 2023 1:56 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] unbale to run start-collectOnPremSendAs (Issue #115)

thanksss, it is collecting now.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F115%23issuecomment-1424669327&data=05%7C01%7Ctimmcmic%40microsoft.com%7C7c120f1bed104ce5aed708db0acf5a34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115657910369067%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=W%2FKi16xmJP4C632QiQdJuWG3kasuzU%2B%2BBDfU6SaAkZo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6MZ2CI2AMA7BAVILF3WWU4VZANCNFSM6AAAAAAUW3TNZU&data=05%7C01%7Ctimmcmic%40microsoft.com%7C7c120f1bed104ce5aed708db0acf5a34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638115657910369067%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uHR3ofhKFiKkBB%2F%2F%2B4FFdHeLetG1mNB6NWybgN56WTk%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

lsborroto12 commented 1 year ago

THanks for the response,