→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
baptiste_rousse
Engaged Sweeper
Hi Everybody,

i got an issue when i want to scan our tenant O365. Following step by step process to add scan credentials with prerequisite from https://www.lansweeper.com/knowledgebase/how-to-scan-office-365-accounts/

I can fetch some data, so i guess it's working, but after mobile devices fetching i got an error to prompt user credentials that seems be used just before.

if anybody got an idea, it could be great.

Thx in advance.


2019-06-17 15:58:25,891 [33] DEBUG Office 365 - Fetching groups.
2019-06-17 15:59:37,551 [33] DEBUG Office 365 - 276 groups found.
2019-06-17 15:59:37,551 [33] DEBUG Office 365 - Fetching mailboxes.
2019-06-17 16:01:11,604 [33] DEBUG Office 365 - 878 mailboxes found.
2019-06-17 16:01:11,620 [33] DEBUG Office 365 - Fetching contacts.
2019-06-17 16:02:40,104 [33] DEBUG Office 365 - 20 contacts found.
2019-06-17 16:02:40,136 [33] DEBUG Office 365 - Fetching mobile devices.
2019-06-17 21:27:25,042 [33] ERROR Office 365 - Error saving Office 365 data:
System.Management.Automation.MethodInvocationException: Exception calling "GetSteppablePipeline" with "1" argument(s): "Exception calling "PromptForCredential" with "4" argument(s): "A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: Enter your credentials for https://outlook.office365.com/powershell-liveid/."" ---> System.Management.Automation.CmdletInvocationException: Exception calling "PromptForCredential" with "4" argument(s): "A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: Enter your credentials for https://outlook.office365.com/powershell-liveid/." ---> System.Management.Automation.MethodInvocationException: Exception calling "PromptForCredential" with "4" argument(s): "A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: Enter your credentials for https://outlook.office365.com/powershell-liveid/." ---> System.Management.Automation.Host.HostException: A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message: Enter your credentials for https://outlook.office365.com/powershell-liveid/.
at System.Management.Automation.Internal.Host.InternalHostUserInterface.ThrowPromptNotInteractive(String promptMessage)
at System.Management.Automation.Internal.Host.InternalHostUserInterface.PromptForCredential(String caption, String message, String userName, String targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options)
at System.Management.Automation.Internal.Host.InternalHostUserInterface.PromptForCredential(String caption, String message, String userName, String targetName)
at CallSite.Target(Closure , CallSite , Object , String , String , String , String )
--- End of inner exception stack trace ---


Bapt
3 REPLIES 3
Esben_D
Lansweeper Employee
Lansweeper Employee
Unfortunately, it is more work than expected to get this issue resolved. You're best off contacting support and let them take a look if there is a possible workaround for your specific situation.

In some cases there are workarounds, but it is better to get these looked at on a case by case basis.
SteveGrant
Engaged Sweeper
I am also experiencing this issue on version 7.2.100.20. Any update on if/when this is likely to be fixed? Or a workaround maybe?
Esben_D
Lansweeper Employee
Lansweeper Employee
I quickly checked and it seems the error you quoted is a known bug. We're trying to get a fix for it out ASAP. Unfortunately, I don't have an estimation of when this will be released.