Error Access Denied when try config MS Entra ID with MS teams

Nguyen Van Duc 1 (CMC Consulting) 0 Reputation points
2024-05-16T07:43:33.4333333+00:00

Hello Expert Teams,

I try to Configure the application access policy but when I tried following this docs:

https://community.sap.com/t5/human-capital-management-blogs-by-members/successfactors-lms-microsoft-teams-vls-integration/bc-p/13543853/highlight/true

I'm quite sure follow the steps as outlined in the document. However, I got the error that New-CsApplicationAccessPolicy: access denied. So how can I run this command following the docs?

Detail issue bellow:powershell_OWZTzMqmmw

Dear experts, could you please give me some one advice?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,426 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,572 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 19,765 Reputation points
    2024-05-16T08:03:29+00:00

    Hello Nguyen Van Duc 1 (CMC Consulting,

    Thanks for reaching out.

    From the error message received while running the New-CsApplicationAccessPolicy Teams PowerShell command is due to insufficient permissions. Please ensure that your account has been assigned the necessary roles to execute this command.

    Please could you confirm the roles you have assigned? You will need the Teams Administrator assigned.

    https://learn.microsoft.com/en-us/microsoftteams/using-admin-roles

    Please let me know if you have further questions

    You can mark it 'Accept Answer' if this helped.

    0 comments No comments

  2. Robin Sheng-MSFT 4,255 Reputation points Microsoft Vendor
    2024-05-17T02:28:11.3033333+00:00

    Hi @Nguyen Van Duc 1 (CMC Consulting)

    Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is not in our support scope. The following suggestion is for your reference:

    1. Please upgrade the Microsoft Teams PowerShell module: Make sure you are using the latest version of the Microsoft Teams PowerShell module, refer to this reference.
    2. Please verify user permissions: Make sure your account has the appropriate permissions to execute the Get-CsApplicationAccessPolicy command. Verify that you are one of the administrators and that you have verified the policy correctly?

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.