Connect to Box.com

Comments

5 comments

  • Avatar
    Jaydeep Misra

    Can you please explain how to automatically connect to box without manual click. When i ran below command, i have to manually click and authorize. Can this be skipped through power shell. That would help as i would be able to create .ps1 file and schedule those task scheduler.

     

    after below command this screen appears- 

     

    $box = Connect-Box -email abc@email.com -admin

    0
    Comment actions Permalink
  • Avatar
    Alex

    Hello Jaydeep,

    If you want to avoid the manual prompt, you need to follow the link under Description, which guides you to Connect ShareGate to Box article. That will explain how to grant access and no longer see that prompt.

    Thanks!

     

    1
    Comment actions Permalink
  • Avatar
    Harter, Alex

    We are having the same problem. Opened up ticket with Box and they are saying its a ShareGate OAuth2 issue. We registered ShareGate Desktop with the client ID (jj7eh2t0p7r5vh8gqzrtgb4tl8jen7pj) in Box, but still get the logon prompt in our powershell script.

    0
    Comment actions Permalink
  • Avatar
    Alex

    Hello Alex,

    If you are having the same issue as Jaydeep, but the solution we offered is not fixing it, it will be best to open a ticket with our Support team. 

    I will go ahead and do that for you.

    Thanks! 

    1
    Comment actions Permalink
  • Avatar
    Alex
    Hello everyone!

    We looked at this more in depth and it seems there was a misunderstanding on our end. The prompt is part of the default behavior by Box.com. There is no solution to stop seeing it. The good news is that once you manually authorize, everything else should run smoothly, as it should!
     
    We updated the article to reflect this. Thanks for your comments! 
     
     
    0
    Comment actions Permalink

Please sign in to leave a comment.