Need a script to add Apps to SharePoint MyApps page

I want to add apps to My Apps ( by using PowerShell script, maybe using csv file. We can use links to get access to these apps on our Intranet web page. When you go to, you click on “Add Apps”, then you click on “Add a Site”. A small windows is open. You enter the name and the URL and then you click on save. I want to automatize this process because I have a lot of applications and each user have to do the same thing.
Any help will be very appreciated.

Arsene Sabas,
Welcome to the forum. :wave:t3:

What exactly is your question?

Please keep in mind … This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

I ask this question to see if someone already wrote a script resolving this problem. I think my question was clear.

@Saba , I think what we’re saying is that you’re more than capable of running searches on your own. The forum is intended to be a collaborative environment for people interested in Powershell. All you said was “I want to add apps to My Apps by using Powershell script.” This is like saying “I want to write a book in Spanish” with no context. We don’t know what level of understanding you have with Powershell, we don’t know what you’ve tried (if anything) and we don’t know if you’ve even searched for solutions to this.
If you want something to write code for your, large language models like ChatGPT are a good place to start.
If you already searched for “powershell” and that site name and haven’t come up with anything it may not be something that anyone has scripted before.

Ok. I understand. Many Thanks.