A repository’s installation policy specifies PowerShell behavior when installing from that repository. The following image shows the explanation for reference.
About the error for installing Microsoft Teams module, you should run the cmdlet in the following image. For more information, please refer to this link.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.