Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all 10096 articles
Browse latest View live

Return events of a calendar room by graph gets "DelegatedCalendarAccessDenied" message

$
0
0

Hello, i am facing a problem when trie to get a room using graph api. I already had two rooms created on my exchange environment and the request works just fina when i search their events with the request bellow

https://graph.microsoft.com/v1.0/users/room3@email.com.br/events

but then i created a new room and when i try to get with the same request

https://graph.microsoft.com/v1.0/users/room4@email.com.br/events

it gets the error:

{    "error":

{        "code": "DelegatedCalendarAccessDenied",       

"message": "Access is denied. Check credentials and try again.",       

"innerError": {           

"request-id": "cb059196-02df-4186-bf35-a5fd1d184b30",           

"date": "2019-08-22T20:14:48"       

}   

}

}




Onedrive and SharePoint online - administrative access via different tenant

$
0
0
Hello, we are in the process of a small merger and want to create new identites in our AAD tenant and then grant seamless access for newly handed over identities in our AAD (let's call the tenant buyer.com) to resources in the existing tenant (let's call it seller.com). As far as I know it is only possible to grant access (e.g. for max.mustermann@buyer.com to the resources of max.mustermann@seller.com - so same person but with old and new identity) , but no administrative access is possible.

Another option would be to migrate the SharePoint online and onedrive content to our 0365 tenant that is automatically connected the with buyer.com tenant - right?

Is there another way? Perfect would be to have for the existing resources 2 admin accounts for the same person - one from the old AAD tenant (seller.com) and one from the new AAD tenant (buyer.com) while still keeping the TB of data in the old SharePoint online from seller.com. Would Azure B2B help?

How to delegate or re-assign task to another user

$
0
0

Hi,

I am working on approval process in sharepoint designer, pls guide how can i delegate task to another user (Power User) if any assigned task user is not available or power user on their behalf re-assigned or delegate task.

pls guide how can i do it is SharePoint designer.

Thanks.


iffi

How to disable share button on sharepoint online?

$
0
0
How to disable share button on sharepoint online site?

SharePoint Online - Bottom Placeholder hides the last webpart on screen

$
0
0
Hi,

I am working on SharePoint Online Communication site(Modern pages) and used Bottom placeholder for Site Footer. It works good but it sticks to the bottom of the screen rather than bottom of the page. This is why, it hides/overwrites last webpart on screen.

Can anyone advise, how can we make it to appear bottom of the page rather than screen.

Thanks.

Using SharePoint REST API Search query, how do I get the events information that are mapped to a respective event article (Modern Page (news post))?

$
0
0

Hi,

In SharePoint Online, in communication site, I have created an event article using Modern Page (news post) in which I have added events in Events web part. I have also added text & images for the event article.

Using SharePoint REST API Search query, how do I get the events information that are mapped to a respective event article (Modern Page (news post))?

I am able to get the results for the SharePoint REST API Search query (for e.g Title, Path, Description etc.) but the results do NOT contain the events that I have added in the events web part in the Modern page.

https://xxxxx.sharepoint.com/sites/Events/_api/search/query?querytext='IsDocument:True AND FileExtension:aspx AND PromotedState:2 (path:https://xxxxx.sharepoint.com/sites/Events)'&trimduplicates=false&sortlist='LastModifiedTime:descending'&rowlimit=5&startrow=0

Please provide solution to the above issue ASAP.

Thanks in advance.

adding the templates top section webpart back on a page

$
0
0

When you create a new page in SPO modern you have 3 options Blank, Visual and Basic Text.

On a page I want to add this webpart back on, but cannot see what the webpart is called, any ideas how I get this to appear on a page it isn't on?

Thanks

Restore-PnpRecycleBinItem:Llist view limit

$
0
0

Hi,

I want to restore more then 50.000 files from a  SharePoint (online) site. I am using a powershell script for it, tested it with a test site and a small amount of files and everything works. But I keep getting an error when I try to restore more then 50.000 items.

Get-PnPRecycleBinItem : The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.
How can I restore this amount of files?

SharePoint Online Migration Tool - Error 0x0205007 (Populate list item metainfo failed)

$
0
0

Good morning everybody.

I am writing to kindly ask for support with a migration from SharePoint 2013 to SharePoint Online.

In order to perform such a migration, I am using the SharePoint Migration Tool.
The tool has correctly migrated all the on-premises site collections with the exception of two of them, with which it is encountering the following error: 0x0205007 "Populate list item metainfo failed".

I tried to search a little bit for this error, but I did not find any suggested solution.

Did anyone else encounter this problem?

Thank you very much in advance for your help!

Gianni.

Since Azure Service Bus can not be used anymore to debug Remote Event Reciever, so can we use Ngrok instead?

$
0
0

I use to add remote event receivers and attach them to exsisting lists and libraries by following this appraoch https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/

now the steps mentioned above are no more valid.... as using Azure Service Bus was deprecated, now i read that Ngrok can be use to dubug remote event receiver, so can anyone advice if this is true?before i start exploring them?

Hint.in my case i have synchronous events such as; ItemAdding & ItemUpdating.. so i can not use web hooks.  as recently when i ask any question about debugging RER i am informed to use web hooks, and web hooks do not support synchronous events, so can not use them for my case.

Shared Notebook Not Showing Up in Desktop App

$
0
0
My office is trying to implement OneNote, but we are having issues with sharing notebooks. When we share a notebook it seems to generate an e-mail and send it to those we wish to share it with and opens in a web browser, but it does not show up in their OneNote Desktop App. How do we get the shared notebooks to show up in the OneNote Desktop App?

How to create multilingual sites in SharePoint Online?

$
0
0

Hi,

I have to make a English language site available in Spanish language also. All the content (term store, lists, libraries, news posts & SPFx web parts) need to be in Spanish language also.

When I set the user profile default language to Spanish, only the user interface & Site Administration pages got converted into Spanish language.

What is the best approach to show all the content in Spanish language?

Thanks in advance.

In SharePoint Online - how to show breadcrumb on List settings/List permissions pages?

$
0
0

Hi there

In SharePoint Online - how to show breadcrumb on List settings/List permissions pages?

Thanks.

Unable to debug my remote event receiver using ngrok.Error "Localhost is not the intended audience”"

$
0
0
I want to debug our remote event receiver for a sharepoint online site collection. and since the azure service bus appraoch for debugging RER is not supported anymore. so i am trying to use the ngrok appraoch. I did these steps:-

 

1- Inside Visual Studio 2015 >> create new sharepoint add-in >> type provider-hosted Add-in >> I enter the url for a test enterprise wiki site collection which have the Sideloading of apps feature enabled.enter image description here

 

2- Then i enabled the handle Add-in installed/uninstalled:- enter image description here

3- Then inside the AppEventReceiver.svc i entered code this code + the methods implementation:-

public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties)
         {
             SPRemoteEventResult result = new SPRemoteEventResult();

         switch (properties.EventType)
         {
             case SPRemoteEventType.AppInstalled:
                 HandleAppInstalled(properties);
                 break;
             case SPRemoteEventType.AppUninstalling:
                HandleAppUninstalling(properties);
                 break;
             case SPRemoteEventType.ItemAdded:
                 HandleItemAdded(properties);
                 break;
         }


         return result;
     }
     // code goes here for the above methods implementation ..
For debugging the RER, I did these steps:-

1- I run this ngrok command:-

ngrok http --host-header=rewrite 54001// where this port is our RER port inside visual studio
2- Update the Update web.config, with the url i got from the above command:-enter image description here

3- Set the web application as Start Up project.

4- Navigate to the ngrok url where i got this page:- enter image description here

5- Register the app and update the web.config with the generated ClientId + ClientSecretenter image description hereenter image description here

6- After that i run the Visual Studio project >> i got this message to trust the app:-enter image description here

7- Where the app start showing inside the site content page with a message that it is been added...

8- After that my code reached this break point:- enter image description here

9- But inside the TokenHelper.cs , I got this exception**:-

An exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException'occurred in ****Web.dll but was not handled in user code Additional information: "localhost" is not the intended audience "f15f8358-54c4-4767-95b2-98051ed0b1c5/00af9b86.ngrok.io@8208ba41-935e-4b54-ace7-
 

On this code:-

enter image description here

So can anyone advice on this please?


Cannot sign into sharepoint online site with sharepoint designer 2013?

$
0
0

Hi,

I have a sharepoint online site https://mydomain.sharepoint.com that I cannot access from Sharepoint Designer 2013. When I try to connect the site name appears and so do some of the folders but then it just says "The server could not complete your request".

The more details box says "403 FORBIDDEN 403 FORBIDDEN 403 FORBIDDEN 403 FORBIDDEN".

Any clues as to what the problem is here?


Debug Remote Event Receiver using Ngrok problem. Clientcontext will be null + iisexpress.exe' has exited with code -1 (0xffffffff).

$
0
0

I want to test and debug a remote event receiver for my custom list inside sharepoint online. so i did these steps:-

1. inside our sharepoint online i created a new developer site collection.

2. using Visual Studio pro 2015 >> i create a new Visual Studio project of type SP Add-in.

3. The type = provider-hosted, as follow:-

4. after that i changed the Handle Add-in installed/uninstalled to True:-

5. then i open the Ngrok command line, i enter the following:-

ngrok http --host-header=rewrite 50452// where this port is our RER port inside visual studio

where 50452 is the port for the VS project:-

i got the following:-

so i updated the AappManifest.xml with the forwarding url:-

6. I update the app permission as follow:-

7. then i run the project >> i got this popup >> i select the custom list named "project"

where i got to the break-point inside my code >> but the client content inside my code will be empty:-

after that the VS stop running and i got this error:-

here is the full code inside my "AppEventReceiver.svc"

public class AppEventReceiver : IRemoteEventService
    {
        private const string ReceiverName = "ItemAddedEvent";
        private const string ListName = "projects";
        /// <summary>
        /// Handles app events that occur after the app is installed or upgraded, or when app is being uninstalled.
        /// </summary>
        /// <param name="properties">Holds information about the app event.</param>
        /// <returns>Holds information returned from the app event.</returns>
        public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties)
        {
            SPRemoteEventResult result = new SPRemoteEventResult();

            switch (properties.EventType)
            {
                case SPRemoteEventType.AppInstalled:
                    HandleAppInstalled(properties);
                    break;
                case SPRemoteEventType.AppUninstalling:
                    HandleAppUninstalling(properties);
                    break;
                case SPRemoteEventType.ItemAdded:
                    HandleItemAdded(properties);
                    break;
            }


            return result;
        }
        private void HandleAppUninstalling(SPRemoteEventProperties properties)

        {

            using (ClientContext clientContext =

              TokenHelper.CreateAppEventClientContext(properties, false))

            {

                if (clientContext != null)

                {

                    List myList = clientContext.Web.Lists.GetByTitle(ListName);

                    clientContext.Load(myList, p => p.EventReceivers);

                    clientContext.ExecuteQuery();



                    var rer = myList.EventReceivers.Where(

                        e => e.ReceiverName == ReceiverName).FirstOrDefault();



                    try

                    {

                        System.Diagnostics.Trace.WriteLine("Removing ItemAdded receiver at "+ rer.ReceiverUrl);



                        //This will fail when deploying via F5, but works

                        //when deployed to production

                        rer.DeleteObject();

                        clientContext.ExecuteQuery();



                    }

                    catch (Exception oops)

                    {

                        System.Diagnostics.Trace.WriteLine(oops.Message);

                    }



                }

            }

        }
        private void HandleAppInstalled(SPRemoteEventProperties properties)

        {

            using (ClientContext clientContext =

                 TokenHelper.CreateAppEventClientContext(properties, false))

            {

                if (clientContext != null)

                {

                    List myList = clientContext.Web.Lists.GetByTitle(ListName);

                    clientContext.Load(myList, p => p.EventReceivers);

                    clientContext.ExecuteQuery();



                    bool rerExists = false;



                    foreach (var rer in myList.EventReceivers)

                    {

                        if (rer.ReceiverName == ReceiverName)
                        {

                            rerExists = true;

                            System.Diagnostics.Trace.WriteLine("Found existing ItemAdded receiver at "+ rer.ReceiverUrl);

                        }

                    }



                    if (!rerExists)

                    {

                        EventReceiverDefinitionCreationInformation receiver =

                             new EventReceiverDefinitionCreationInformation();

                        receiver.EventType = EventReceiverType.ItemAdded;


                        //Get WCF URL where this message was handled

                        OperationContext op = OperationContext.Current;
                        Message msg = op.RequestContext.RequestMessage;



                        receiver.ReceiverUrl = msg.Headers.To.ToString();



                        receiver.ReceiverName = ReceiverName;

                        receiver.Synchronization = EventReceiverSynchronization.Synchronous;
                        myList.EventReceivers.Add(receiver);



                        clientContext.ExecuteQuery();



                        System.Diagnostics.Trace.WriteLine("Added ItemAdded receiver at "+ msg.Headers.To.ToString());

                    }

                }

            }

        }
        private void HandleItemAdded(SPRemoteEventProperties properties)

        {

            using (ClientContext clientContext =

                 TokenHelper.CreateRemoteEventReceiverClientContext(properties))

            {

                if (clientContext != null)

                {

                    try

                    {

                        List photos = clientContext.Web.Lists.GetById(

                              properties.ItemEventProperties.ListId);

                        ListItem item = photos.GetItemById(

                             properties.ItemEventProperties.ListItemId);

                        clientContext.Load(item);

                        clientContext.ExecuteQuery();



                        item["Title"] += "\nUpdated by RER " +

                               System.DateTime.Now.ToLongTimeString();

                        item.Update();

                        clientContext.ExecuteQuery();

                    }

                    catch (Exception oops)

                    {

                        System.Diagnostics.Trace.WriteLine(oops.Message);

                    }

                }



            }



        }

        /// <summary>
        /// This method is a required placeholder, but is not used by app events.
        /// </summary>
        /// <param name="properties">Unused.</param>
        public void ProcessOneWayEvent(SPRemoteEventProperties properties)
        {
            throw new NotImplementedException();
        }

    }

So can anyone advice why i am getting Null for the ClientContext ? and why the project will stop running?


Sharepont 2013 to Shareoint online. Choice of architecture

$
0
0

We have a customer on Sharepoint 2013 with about 200 subsites in one site collection. He will like to move to sharepoint online (new template) (Hub architecture). 

Benefits he has today:

Easy to create subsites based on his own templates
Easy to mange access with sharepoint groups. 

If no big disadvantages will he like to have it as he has it today. Will it be a big mistake to crate one site collection in sharepoint online on a teamsite (no office 365 group) and defined it as a hub site and keep all the subsites as he has it today? If so, what will be the main disadvantages?



unable to debug my remote event reciever using ngrok reverse proxy

$
0
0

I am working on developing sharepoint remote event receiver for our sharepoint online enterprise site collection. i followed these steps:-

1. i create a new Enterprise Wiki Site Collection >> using pnp i enable theSideLoading feature.

2- Inside visual studio 2015 >> create new sharepoint add-in >> provider-hosted Add-in >> i enter the url for a test enterprise wiki site collection which have the Sideloading of apps feature enabled.enter image description here

3- Then i enabled the handle Add-in installed/uninstalled:-

enter image description here

4- Then inside the AppEventReceiver.svc i entered code as follow, and the methods implementation:-

publicSPRemoteEventResultProcessEvent(SPRemoteEventProperties properties){SPRemoteEventResult result =newSPRemoteEventResult();switch(properties.EventType){caseSPRemoteEventType.AppInstalled:HandleAppInstalled(properties);break;caseSPRemoteEventType.AppUninstalling:HandleAppUninstalling(properties);break;caseSPRemoteEventType.ItemAdded:HandleItemAdded(properties);break;}return result;}// ****** code goes here for the above methods implementation ..*****

5- For debugging the RER >> install the ngrok from https://ngrok.com/>> i run this command:-

ngrok http --host-header=rewrite 54001

where 54001 is the port for our RER, as follow:-

and i got this results inside the ngrok command windows:-

6- then i navigate to the remote event receiver service url using the ngrok generated url as follow:-

7. after that i checked the event receiver add-in inside the debugging site collection , but i got this error:-

8- then i checked the add-in details >> i found that there is 1 install error as follow:-

9. and inside visual studio seems it is still trying to install the app:-

now i am not sure what are the steps we need to follow to be able to debug our remote event receivers?  as using the traditional way of create an azure service bus is not longer supported.. here is another question i opened when i tried to use the old appraoch of creating azure service bus One or more services were unregistered from the Microsoft Azure Service Bus. Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server

OneDrive for Business data encryption

$
0
0

Hi

When a user sync's his/her files from OneDrive for Business to user's PC or Mac using OneDrive, are these files encrypted even if PC's or Mac's hard drive is not encrypted using BitLocker of OSX encryption?

Import excel to list with creating Number column

$
0
0

Hi

I need to import an excel spreadsheet into list and keep one column as number but it keeps creating it as Single line text (spreadsheet corresponding column format is set to number and contains only numbers). Cannot create column type to number either, there is no option. 
Spreadsheet has around 1000 rows so Quick Edit is not an option (for some reason it only allows me to copy/paste 10 rows at a time).

Is there any way to force that column as a number?

Thanks


Viewing all 10096 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>