Lỗi the remote server returned an error 404 not found năm 2024
'New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "xxxxxxxxxxxxxxxx" -Description "description here"' Show While running this command getting an error like this. Get-CsOnlineSession: The remote server returned an error: (404) Not Found. Invoke-Command: Cannot validate argument on parameter 'Session'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Why this is happening? We are using Windows PowerShell version 5.1.14393.4467. And imported the latest MicrosoftTeams Powershell Module. I have followed all the steps in the documentation. Also, the firewall and antivirus are off. But still having the same issue. Your exception is completely clear, 404 Not Found ==> your endpoint not exists (or your server not reachable). Can you open your endpoint url with browser or outside your plugin codes (such as console app). Other important point, you can not use IP address to call any webservice inside plugin / workflow assembly, D365 doesn't allow this, use domain / subdomain
|