Help required with ExchangeOnlineManagement module

Hi All,

I am trying to run a .ps1 file in an Alpine image and while creating the image I installed PowerShell runtime and the required module, but when I execute the file I get the following error

2023/05/26 08:03:03 e[91mOperationStopped: e[0m/usr/local/share/powershell/Modules/ExchangeOnlineManagement/3.1.0/netCore/ExchangeOnlineManagement.psm1:729
2023/05/26 08:03:03 e[96mLine |
2023/05/26 08:03:03 e[96m 729 | e[0m e[96mthrow $_.Exception.InnerExceptione[0m;
2023/05/26 08:03:03 e[96m | e[91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023/05/26 08:03:03 e[91me[96m | e[91mCould not load file or assembly ‘Newtonsoft.Json,
2023/05/26 08:03:03 e[96m | e[91mVersion=13.0.0.0, Culture=neutral,
2023/05/26 08:03:03 e[96m | e[91mPublicKeyToken=30ad4fe6b2a6aeed’.
2023/05/26 08:03:03 e[0m
2023/05/26 08:03:03 exit status 1

I have installed Newtonsoft.json module also, please help me with this issue.

Install powershell latest version (.7.3.5)