Is there a way to grant myself MANAGE_USERS permission while inside the adb shell?

The thing is that I’m fed up of some stock adware apps on my Micromax phone and want to disable them for good. So, as per this answer, I used adb shell to disable the app, but I’m getting the following error:

shell@Q4260:/ $   pm hide com.micromax.trendingapps Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS. 1|shell@Q4260:/ $    

The error message indicates that I need android.permission.MANAGE_USERS to achieve that. So I even tried granting that permission to the shell app, but no use!

shell@Q4260:/ $   pm grant android.permission.MANAGE_USERS      Operation not allowed: java.lang.SecurityException: Package has not requested permission android.permission.MANAGE_USERS 1|shell@Q4260:/ $    

Is there any other way to get myself that permission?

Finally, the smart-phone is Micromax Q4260 running Marshmallow if that matters. This could probably be solved by rooting, but I don’t have any intention of rooting as it could be risky on this little known model.

Removing web solutions completely – Now getting runtime errors

In preparation for a migration soon, I am cleaning up our 2013 environment. We used to use Metalogix ControlPoint when we did 2010 to 2013, but that was a long time ago, and it has itself all over the farm configuration.

  • I went into Central Admin, went to ControlPoint and removed it.

  • I went to Manage Farm Solutions and removed the associated features

  • Went to Solution Management and de-activated everything having to do with Metalogix (There was around 8 items).

  • I removed the 4 associated Content Databases from the SQL Cluster.

Now almost all of my sites have a Runtime error and produce the page letting you know to edit the web.configuration file. I’ve followed that, and there was no change.

ULS is seeing “SPSqlLatencyMonitor.PingServers: exception encountered” constantly with trying to log into the SQL database as well. I am not sure how to interpret what is making the constant call to the DB.

I have clearly broken something, and I’d like to learn how to fix it. This is a QA Environment, and I have backups of everything. I don’t want to resort to that yet. I’ve only been doing SharePoint admin for 2 months now, so I’m still pretty new to a lot of it! I need to eventually apply this to Production.

Apply-PnPProvisioningTemplate : The remote server returned an error: (403) Forbidden

I am developing a script to create/update group/team sites from a SharePoint list. I have everything working, but I am struggling big time with authentication.

I use

Connect-PnPOnline -Url -UseWebLogin -Scopes "Group.ReadWrite.All","Directory.Read.All" 

In order to Apply-PnPProvisioningTemplate.

Anytime I am switching from the list and the newly created site to apply the template, I use

Connect-PnPOnline -Url -UseWebLogin 

To connect to SP List of clients

Connect-PnPOnline -Url -UseWebLogin 

To connect to new site to apply template.

This works amazing through the first one or two sites, then I receive a

Apply-PnPProvisioningTemplate : The remote server returned an error: (403) Forbidden.

It is somewhat random. Sometimes it will make it through one or two sites. I have also had it work through 8 or so sites before it errors out. I am assuming it has something to do with the token expiring, but I am not positive. Any help would be appreciated.

Android Accessibility: Click When Pointer Stops On Websites

I have a disability that requires me to use the Interaction And Dexterity: Click When Pointer Stops accessibility setting on my Samsung Galaxy S9+. Unfortunately, this setting (in combination with the Assistant Menu) does not allow me to click on hyperlinks. While you can use Assistant Menu: Cursor to move a second pointer that does click links, it is virtually impossible to do this with any degree of accuracy.

Is there any way of using the same pointer for navigating the UI and navigating web pages? I have tried using the Samsung Internet and Google Chrome apps without success.

See: Assistant Menu

Get-PnPSearchConfiguration returns only one vaiue SharePointPnPPowerShellOnline

I am attempting to export the definition of all managed properties for am online site collection. The connection to the site works find and SharePointPnPPowerShellOnline returns an object, but it contains only one value. The CompleteXML option also return only one result.

FWIW, the Admin ran the export option for in the Admin Center and as expected on the Subscript level properties appeared , and in CompleteXML format.

SharePoint Online: Get User’s(People picker) Manager name and email id

I am on SharePoint Online environment. I have 3 columns Author(People picker, only people, no groups), Manager Name(text field) and Manager email(text field).

When a user fills out the Author column which is a people picker, I want to populate the Managers Name and Managers email id of that particular Author(not current logged in user) from Active Directory, before submitting/saving the form. If the Author field is changed/updated, I want the Managers Name and Managers email updated accordingly.

Please suggest?


What is causing a 404 error in VS and 405 error in the browser while creating a local Provider-Hosted app (not azure hosted) for SharePoint Online?

I am using Sharepoint Online and VS2019.

I was asked to create a Provider-Hosted App for SharePoint Online, where the App is hosted locally on a computer/server (without hosting on Azure).

As a test, I am trying to load the default Hello World Page that is auto-generated.

After Googling and watching YouTube videos to follow and understand some steps, I ended up using this guide (the closest guide I could find without mentioning hosting on Azure).

Now I completed the following:

  1. Created a Developer Site in Sharepoint Site Collection Created a

  2. Provider-Hosted MVC app for Sharepoint Online and using Windows Azure Access Control Service Created Self-Signed Certificate for default application pool.

  3. Create a Https binding to default localhost.
  4. Generated Client ID and Secret from Development site, then configured the App.

After deploying and starting the app, I noticed the messages followed by the error:enter image description here

Clicking on OK loads the following page,the 405 error- enter image description here

I am not really sure what I am doing wrong. Any assistance will be appreciated.