Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

BC20 Convert-PermissionSets.psm1 error

Posted on by Microsoft Employee

Hello

I would like to convert our costume permissions from database data to permission objects, but i am getting so many errors when i try to Import-Module -name "C:\Path\Convert-Permission Sets.psm1" library .



Regs.

Firas



error sample

At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:174 char:126
+ ... etails px-3 px-md-4 px-lg-5 flex-wrap flex-md-nowrap" role="banner" >
+ ~
Missing file specification after redirection operator.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:193 char:158
+ ... ent="true" class="Header-link js-details-target btn-link"> <svg aria ...
+ ~
The '<' operator is reserved for future use.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:197 char:14
+ </button> </div>
+ ~
The '<' operator is reserved for future use.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:440 char:31
+ data-analytics-event="{"category":"Header&quot ...
+ ~
Unexpected token '{' in expression or statement.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:440 char:46
+ data-analytics-event="{"category":"Header&quot ...
+ ~

Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: BC20 Convert-PermissionSets.psm1 error

    I think it should work for BC on premise as well.

    If you are not able to make it work you can raise a support ticket with Microsoft through your CSP partner.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: BC20 Convert-PermissionSets.psm1 error

    Hi Jun

    Thank you for answering me, I have seen your analysis before, what your are saying is the tool dose not work with onPremise version of BC!

    regs.

    Firas

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,124 Super User 2024 Season 2 on at
    RE: BC20 Convert-PermissionSets.psm1 error

    Hi, Hopefully the link below can give you some hints.

    https://yzhums.com/12194/

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans