Unable to change recordings from teams to go into Onedrive rather than stream

%3CLINGO-SUB%20id%3D%22lingo-sub-1738634%22%20slang%3D%22en-US%22%3EUnable%20to%20change%20recordings%20from%20teams%20to%20go%20into%20Onedrive%20rather%20than%20stream%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1738634%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20having%20issues%20changing%20the%20teams%20recordings%20to%20go%20into%20onedrive%20as%20default%20rather%20than%20Stream%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%24session%20%3D%20New-CsOnlineSession%20-Credential%20%24cred%3C%2FP%3E%3CP%20class%3D%22p1%22%3EImport-PSSession%20%24session%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3ESet-CsTeamsMeetingPolicy%20-Identity%20Global%20-RecordingStorageMode%20%E2%80%9COneDriveForBusiness%E2%80%9D%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3EOnce%20I%20put%20this%20in%20I%20get%20this%20pop%20up%20for%20authentication%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-10-02%20at%2010.55.05%20AM.png%22%20style%3D%22width%3A%20321px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F223658i41EB1F66FBFBE460%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Screenshot%202020-10-02%20at%2010.55.05%20AM.png%22%20alt%3D%22Screenshot%202020-10-02%20at%2010.55.05%20AM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3EThen%20I%20get%20this%20error%20when%20I%20take%20out%20Oauth%20and%20replace%20with%20my%20global%20admin%20account%20details%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-10-02%20at%2010.53.28%20AM.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F223659i09E3B57C3EA31C82%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Screenshot%202020-10-02%20at%2010.53.28%20AM.png%22%20alt%3D%22Screenshot%202020-10-02%20at%2010.53.28%20AM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1738634%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%20for%20Education%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Super Contributor

Hi All, 

 

I have having issues changing the teams recordings to go into onedrive as default rather than Stream 

 

I am using 

$session = New-CsOnlineSession -Credential $cred

Import-PSSession $session

 

Set-CsTeamsMeetingPolicy -Identity Global -RecordingStorageMode “OneDriveForBusiness”

 

Once I put this in I get this pop up for authentication  

 

Screenshot 2020-10-02 at 10.55.05 AM.png

 

Then I get this error when I take out Oauth and replace with my global admin account details 

 

Screenshot 2020-10-02 at 10.53.28 AM.png

 

Thanks in advance

 

0 Replies